Usage
## S3 method for class 'krandtest':
plot(x, mfrow = NULL, nclass = NULL, main.title = x$names, ...)
## S3 method for class 'krandtest':
print(x, ...)
as.krandtest(sim, obs, alter = "greater", call =
match.call(), names = colnames(sim), p.adjust.method = "none")
Arguments
x
: an object of class 'krandtest'
mfrow
: a vector of the form 'c(nr,nc)', otherwise computed by as special own function n2mfrow
nclass
: a number of intervals for the histogram
main.title
: a string of character for the main title
...
: further arguments passed to or from other methods
sim
a matrix or data.frame of simulated values (repetitions as
rows, number of tests as columns
obs
a numeric vector of observed values for each test
alter
a vector of character specifying the
alternative hypothesis for each test. Each element must be one of
"greater" (default), "less" or "two-sided". The length must be equal
to the length of the vector obs, values are recycled if shorter.
names
a vector of names for tests
p.adjust.method
a string indicating a method for multiple
adjustment, see p.adjust.methods
for possible choices.