Learn R Programming

MachineLearning (version 0.1.4)

VariableRanker: Ranks of importance variables

Description

A Ranker of variables

Usage

VariableRanker(formula, data, based = "gainratio", ...)

Arguments

formula

a formula of the form y ~ x1 + x2 + ...

data

the data frame that contains the variables specified in formula.

based

methodology used to rank variables. The options available are informationgain, gainratio and symmetrical.uncertainty.

...

further arguments passed to or from other methods.

Value

A MLA object of subclass Var-Rank

Examples

Run this code
# NOT RUN {
## Load a Dataset
data(EGATUR)
VariableRanker(formula=GastoTotalD~pais+aloja+motivo,EGATUR)

# }

Run the code above in your browser using DataLab