plot.varSel: Boxplot of mean Mahalanobis distances from varSelection()

Description Usage Arguments Author(s) See Also Examples

Description

Provides a descriptive plot of now the mean Mahalanobis distances change as variables are added or deleted using varSelection.

Usage

1
2
## S3 method for class 'varSel'
plot(x,main=NULL,nbest=NULL,arrows=TRUE,...)

Arguments

x

an object create by varSelection

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 bestVars

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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
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)

yaImpute documentation built on July 1, 2020, 3 a.m.