summary-varrank.Rd
Methods for detailed display of varrank
objects.
# S3 method for varrank summary(object,digits=3, ...)
object | an object of class |
---|---|
digits | an integer specifying the number of digits to display in the output. |
... | additional arguments passed to summary. |
digits
gives the number of digits that will be displayed in the output. This method differs of print.varrank
by the amount of info displayed.
if (requireNamespace("mlbench", quietly = TRUE)) { library(mlbench) data(PimaIndiansDiabetes) ##forward search for all variables varrank.output <- varrank(data.df = PimaIndiansDiabetes, method = "peng", variable.important = "diabetes", discretization.method = "sturges", algorithm = "forward", scheme = "mid") ##Print summary output of varrank object summary(varrank.output) }#> | | | 0% | |============ | 17% | |======================= | 33% | |=================================== | 50% | |=============================================== | 67% | |========================================================== | 83% | |======================================================================| 100%Number of variables ranked: 8 #> forward search using peng method #> (mid scheme) #> #> Ordered variables (decreasing importance): #> glucose mass age pedigree insulin pressure pregnant triceps #> Scores 0.187 0.015 -0.016 -0.022 -0.06 -0.073 -0.079 NA #> #> --- #> #> Matrix of scores: #> glucose mass age pedigree insulin pressure pregnant triceps #> glucose 0.187 #> mass 0.092 0.015 #> age 0.085 -0.043 -0.016 #> pedigree 0.031 -0.017 -0.022 -0.022 #> insulin 0.029 -0.121 -0.084 -0.067 -0.06 #> pressure 0.024 -0.059 -0.088 -0.096 -0.082 -0.073 #> pregnant 0.044 -0.033 -0.024 -0.139 -0.107 -0.085 -0.079 #> triceps 0.034 -0.019 -0.138 -0.111 -0.091 -0.113 -0.108