plot.maxtest {maxstat} | R Documentation |
Printing and ploting method of objects of class maxtest
## S3 method for class 'maxtest': plot(x, xlab=NULL, ylab=NULL, ...) ## S3 method for class 'maxtest': print(x, digits = 4, ...) ## S3 method for class 'mmaxtest': plot(x, xlab=NULL, ylab=NULL, nrow=2, ...) ## S3 method for class 'mmaxtest': print(x, digits = 4, ...)
x |
an object of class maxtest or mmaxtest . |
xlab |
label of x-axis. |
ylab |
label of y-axis. |
nrow |
number of rows for multiple plots at one page. |
digits |
number of significant digits to be printed. |
... |
additional arguments to plot or print.htest . |
The standardized statistics are plotted. If alpha
was given in
maxstat.test
the appropriate significance bound is plotted as
a red line. print.maxtest
is just a wrapper to print.htest
.
x <- sort(runif(20)) y <- rbinom(20, 1, 0.5) mydata <- data.frame(c(x,y)) mod <- maxstat.test(y ~ x, data=mydata, smethod="Median", pmethod="HL", alpha=0.05) print(mod) plot(mod)