plot.varSel {yaImpute} | R Documentation |
Boxplot of mean Mahalanobis distances from varSelection()
Description
Provides a descriptive plot of now the mean Mahalanobis distances change
as variables are added or deleted using varSelection
.
Usage
## S3 method for class 'varSel'
plot(x,main=NULL,nbest=NULL,arrows=TRUE,...)
Arguments
x |
an object create by |
main |
becomes the plot title, if NULL one is generated |
nbest |
number of variables designated in the plot as the best;
if null the number is computed by |
arrows |
if true, an arrow is added to the plot designating the best variables. |
... |
passed to boxplot functions |
Author(s)
Nicholas L. Crookston ncrookston.fs@gmail.com
See Also
varSelection
and yai
Examples
require(yaImpute)
data(iris)
set.seed(12345)
x <- iris[,1:2] # Sepal.Length Sepal.Width
y <- iris[,3:4] # Petal.Length Petal.Width
vsel <- varSelection(x=x,y=y,nboot=5,useParallel=FALSE)
plot(vsel)
[Package yaImpute version 1.0-34 Index]