plot.variable_selection | R Documentation |
Makes a barplot of selection proportions in decreasing order. See examples in
VariableSelection
.
## S3 method for class 'variable_selection'
plot(
x,
col = c("red", "grey"),
col.axis = NULL,
col.thr = "darkred",
lty.thr = 2,
n_predictors = NULL,
...
)
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 |
A plot.
VariableSelection
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.