| plot.maccest {mt} | R Documentation |
Plot Method for Class 'maccest'
Description
Plot accuracy rate with standard derivation of each classifier.
Usage
## S3 method for class 'maccest'
plot(x, main = NULL, xlab = NULL, ylab = NULL, ...)
Arguments
x |
An object of class |
main |
An overall title for the plot. |
xlab |
A title for the x axis. |
ylab |
A title for the y axis. |
... |
Additional arguments to the plot. |
Details
This function is a method for the generic function plot() for class
maccest. It plots the accuracy rate with standard derivation against the
classifiers.
Value
Returns plot of class maccest.
Author(s)
Wanchang Lin
See Also
Examples
# Iris data
data(iris)
x <- subset(iris, select = -Species)
y <- iris$Species
method <- c("randomForest","svm","pcalda","knn")
pars <- valipars(sampling="boot", niter = 10, nreps=4)
res <- maccest(x, y, method=method, pars=pars,
comp="anova",kernel="linear")
res
plot(res)
[Package mt version 2.0-1.20 Index]