Fig4.4 | R Documentation |
Reproduces Figure 4.4 from the book. If you specify any options, your results may look different.
Fig4.4(
alpha = c(0.75, 0.5, 0.25),
ylim = c(-0.25, 0.5),
seed = 1,
nfolds = 10,
parlist = list(mfrow = c(1, 3), mar = c(4, 4, 2, 0), cex = 1)
)
alpha |
Vector of alpha values for MNet penalty; there will be one plot per alpha value |
ylim |
Vertical limits of plots |
seed |
For reproducibility |
nfolds |
As in |
parlist |
List of arguments to pass to |
Fig4.4(nfolds=3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.