View source: R/mplot3_varimp.R
mplot3_varimp | R Documentation |
mplot3
: Variable ImportanceDraw horizontal barplots for variable importance
mplot3_varimp(
x,
error = NULL,
names = NULL,
names.pad = 0.02,
plot.top = 1,
labelify = TRUE,
col = NULL,
palette = rtPalette,
alpha = 1,
error.col = theme$fg,
error.lwd = 2,
beside = TRUE,
border = NA,
width = 1,
space = 0.75,
xlim = NULL,
ylim = NULL,
xlab = "Variable Importance",
xlab.line = 1.3,
ylab = NULL,
ylab.line = 1.5,
main = NULL,
names.arg = NULL,
axisnames = FALSE,
sidelabels = NULL,
mar = NULL,
pty = "m",
barplot.axes = FALSE,
xaxis = TRUE,
x.axis.padj = -1.2,
tck = -0.015,
theme = rtTheme,
zerolines = FALSE,
par.reset = TRUE,
autolabel = letters,
pdf.width = NULL,
pdf.height = NULL,
trace = 0,
filename = NULL,
...
)
x |
Vector, numeric: Input |
error |
Vector, numeric; length = length(x): Plot error bars with given error. |
names |
Vector, string; optional: Names of variables in |
plot.top |
Float or Integer: If <= 1, plot this percent highest absolute values, otherwise plot this many top values.
i.e.: |
labelify |
Logical: If TRUE convert |
col |
Colors: Gradient to use for barplot fill. |
alpha |
Float (0, 1): Alpha for |
error.col |
Color: For error bars |
trace |
Integer: If |
"NA" values in input are set to zero.
Position of bar centers (invisibly)
E.D. Gennatas
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.