I would like to be able to use two functions; qansari and pansari
which are found in the
function ansari.test. How can I evaluate these functions
independently? Thanks. --Dale
For example, when I load the function ...
qansari - function(p, m, n) {
.C(R_qansari,
Dale Steele wrote:
I would like to be able to use two functions; qansari and pansari
which are found in the
function ansari.test. How can I evaluate these functions
independently? Thanks. --Dale
For example, when I load the function ...
qansari - function(p, m, n) {
Dale Steele wrote:
methods(ansari.test)
stats:::ansari.test.default
the two functions that are part of ansari.test.default:
qansari - function(p, m, n) {
.C(R_qansari, as.integer(length(p)), q = as.double(p),
as.integer(m), as.integer(n))$q
Thanks, when I modify the function as I think you suggest, I get the
following error:
qansari - function(p, m, n) {
.C(R_qansari, as.integer(length(p)), q = as.double(p),
as.integer(m), as.integer(n))$q
}
qansari( 0.025, 5, 5)
Error in
Try: stats:::R_pansari
Hadley
On Wed, Feb 24, 2010 at 7:55 PM, Dale Steele dale.w.ste...@gmail.com wrote:
Thanks, when I modify the function as I think you suggest, I get the
following error:
qansari - function(p, m, n) {
.C(R_qansari, as.integer(length(p)), q =
5 matches
Mail list logo