plot.variable_selection {sharp} | R Documentation |
Plot of selection proportions
Description
Makes a barplot of selection proportions in decreasing order. See examples in
VariableSelection
.
Usage
## S3 method for class 'variable_selection'
plot(
x,
col = c("red", "grey"),
col.axis = NULL,
col.thr = "darkred",
lty.thr = 2,
n_predictors = NULL,
...
)
Arguments
x |
output of |
col |
vector of colours by stable selection status. |
col.axis |
optional vector of label colours by stable selection status. |
col.thr |
threshold colour. |
lty.thr |
threshold line type as |
n_predictors |
number of predictors to display. |
... |
additional plotting arguments (see |
Value
A plot.
See Also
[Package sharp version 1.4.6 Index]