Plot Importance Results
Usage
# S3 method for class 'cjdiag_importance'
plot(
x,
type = "mda",
top_n = NULL,
base_size = NULL,
colors = NULL,
palette = NULL,
theme = NULL,
label_wrap = NULL,
attribute.names = NULL,
level.names = NULL,
...
)Arguments
- x
A
cjdiag_importanceobject fromimportance()- type
Plot type:
"mda"(default),"root","combined","cumulative", or"cumulative_pct"(forest only). Fornmmobjects, only"mda"and"cumulative"are valid.- top_n
Number of items to display (default 25; NULL = all levels).
- base_size
Font size (default from global options or 12)
- colors
Named character vector overriding specific palette colors
- palette
Palette name:
"default","colorblind", or"grey"- theme
A complete
ggplot2::theme()object (overrides all theme defaults)- label_wrap
Character width for label wrapping (default 35)
- attribute.names
Named character vector renaming attributes in display
- level.names
Named list for renaming levels
- ...
Additional arguments passed to primary ggplot2 geom
See also
Other plotting:
plot.cjdiag_crt(),
plot.cjdiag_forest(),
plot.cjdiag_nmm(),
plot.cjdiag_tree()

