boxplot.frankvali: Boxplot Method for Class 'frankvali'

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/mt_fs.R

Description

Boxplot method for error rate of each feature subset.

Usage

1
2
## S3 method for class 'frankvali'
boxplot(x,  ...)

Arguments

x

An object of class frankvali.

...

Additional arguments to the plot, such as main, xlab and ylab.

Details

This function is a method for the generic function boxplot() for class frankvali. It plots the error rate of each feature subset.

Value

Returns boxplot of class frankvali.

Author(s)

Wanchang Lin

See Also

frankvali

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
data(abr1)
dat <- abr1$pos[,110:500]

x   <- preproc(dat, method="log10")  
y   <- factor(abr1$fact$class)        

dat <- dat.sel(x, y, choices=c("1","2"))
x.1 <- dat[[1]]$dat
y.1 <- dat[[1]]$cls

pars <- valipars(sampling="cv",niter=2,nreps=4)
res  <- frankvali(x.1,y.1,fs.method = "fs.rfe",fs.len = "power2", 
                  cl.method = "knn",pars = pars)
res
summary(res)
boxplot(res)                  

mt documentation built on Feb. 2, 2022, 1:07 a.m.