plot.varimportance: Plots of the importance of the covariates

Description Usage Arguments Details See Also Examples

Description

This funtion provides two graphical representation: the parallel boxplots of the variable importance (VI) of the covariates and the plot of the mean VI of the covariates.

Usage

1
2
3
## S3 method for class 'varimportance'
plot(x, choice = "boxplot", order = FALSE,
  xlab = NULL, ylab = NULL, cutoff = FALSE, ...)

Arguments

x

an object of class varimportance.

choice

if "boxplot" the parallel boxplots of the VI is provided. If "meanplot" the plot of the mean VI is provided.

order

if TRUE, the mean VI values are plotted by decreasing order.

xlab

X axis label.

ylab

Y axis label.

cutoff

if TRUE a vertical green line is plotted to give a single change point position (only when order=TRUE)

...

further arguments passed to or from other methods.

Details

The original MSE is indicated by a red horizontal line.

See Also

varimportance, select.varimportance

Examples

1
2
3
4
5
6
7
data("simus")
X <- simus$X
Y <- simus$Y1
imp <- varimportance(X,Y,method="linreg",nperm=8)
plot(imp,choice="boxplot", col="lightgreen")
plot(imp,choice="meanplot")
plot(imp,choice="meanplot", order = TRUE, cutoff = TRUE)

chavent/modvarsel documentation built on May 22, 2019, 2:22 p.m.