bestVars | R Documentation |
The number of best variables is estimated by finding an
apparent inflection point in the relationship between the
generalized root mean square distance (see grmsd
and the number
of X-variables.
bestVars(obj,nbest=NULL)
obj |
an object create by |
nbest |
number of variables designated as the best; if null the number is estimated |
An character vector of variable names in decreasing order of importance.
Nicholas L. Crookston ncrookston.fs@gmail.com
varSelection
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)
bestVars(vsel)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.