corplot | R Documentation |
corplot
plots correlations between baselearners in a prediction rule ensemble
corplot(
object,
penalty.par.val = "lambda.1se",
colors = NULL,
fig.plot = c(0, 0.85, 0, 1),
fig.legend = c(0.8, 0.95, 0, 1),
legend.breaks = seq(-1, 1, by = 0.1)
)
object |
object of class pre |
penalty.par.val |
character or numeric. Value of the penalty parameter
|
colors |
vector of contiguous colors to be used for plotting. If
|
fig.plot |
plotting region to be used for correlation plot. See
|
fig.legend |
plotting region to be used for legend. See |
legend.breaks |
numeric vector of breakpoints to be depicted in the plot's legend. Should be a sequence from -1 to 1. |
set.seed(42)
airq.ens <- pre(Ozone ~ ., data = airquality[complete.cases(airquality),])
corplot(airq.ens)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.