rankingRFEAT: Ranking of variables by Random Forest + Efficiency Analysis...

Description Usage Arguments Value Examples

View source: R/rankingRFEAT.R

Description

This function calculates variable importance through a Random Forest + Efficiency Analysis Trees model.

Usage

1
rankingRFEAT(object, barplot = TRUE, digits = 2)

Arguments

object

A RFEAT object.

barplot

logical. If TRUE, a barplot with importance scores is displayed.

digits

Decimal units.

Value

data.frame with the importance scores and a barplot representing the variable importance if barplot = TRUE.

Examples

1
2
3
4
5
6
simulated <- X2Y2.sim(N = 50, border = 0.2)
RFEAT_model <- RFEAT(data = simulated, x = c(1,2), y = c(3, 4))

rankingRFEAT(object = RFEAT_model,
             barplot = TRUE,
             digits = 2)

MiriamEsteve/EAT documentation built on Jan. 18, 2022, 6:55 p.m.