print: Print method for and object of class variable.selection

Description Usage Arguments Author(s) Examples

Description

A short summary is printed with: the call to the variable.selection() function; Then On the basis of a variable.selection object, two/three heading are currently available: (1) "The selected variable(s)" shows the selected variables according to each method; (2) "Weights for variables" emereges if there is any ranker methods selected, showing the weight of each variable in each method. and (3) "Frequency of Selection" shows the frequency of the selection of each variable was selected across all methods.

Usage

1
2
## S3 method for class 'variable.selection'
print(x, ...)

Arguments

x

an object of class variable.selection as produced by variable.selection().

...

further arguments passed to method print.default.

Author(s)

Farideh Bagherzadeh-Khiabani.

Examples

1
2
3
4
5
6
7
8
library(VariableSelection)
 data(tlgs)

 ###########################################
 # Variable Selection with the deafault method (all methods with the default parameters):
 object <- variable.selection (input=names(tlgs)[-1],
 target=names(tlgs)[1], data=tlgs)
 print(object)

faridehbagherzadeh/VariableSelection documentation built on May 16, 2019, 10:10 a.m.