rankingEAT: Ranking of Variables by Efficiency Analysis Trees model.

Description Usage Arguments Value Examples

View source: R/rankingEAT.R

Description

This function computes the variable importance through an Efficiency Analysis Trees model.

Usage

1
rankingEAT(object, barplot = TRUE, threshold = 70, digits = 2)

Arguments

object

An EAT object.

barplot

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

threshold

Importance score value in which a line is graphed.

digits

Decimal units.

Value

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

Examples

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

rankingEAT(object = EAT_model,
           barplot = TRUE,
           threshold = 70,
           digits = 2)

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