Plot function for object of class importance

Share:

Description

Plot the values of the grouped variable importance which is the result of the function varImpGroup.

Usage

1
2
## S3 method for class 'importance'
plot(x, type, horiz, ...)

Arguments

x

An object of class importance.

type

A string denoting the plot type. Supported types include ‘dotchart’ or ‘bar’.

horiz

For barplot only. Should the bars be displayed horizontally (default: TRUE).

...

optional graphical parameters.

Author(s)

Baptiste Gregorutti