Fig2.1 | R Documentation |
Reproduces Figure 2.1 from the book; if you specify any options, your results may look different.
Fig2.1(
range = c(-5, 5),
col = c("#FF4E37FF", "#008DFFFF"),
parlist = list(mfrow = c(1, 2), mar = c(4, 4, 0.5, 0.5), mgp = c(2, 1, 0), oma = c(0,
0, 2, 0))
)
range |
Range for beta coefficient (vector of length 2) |
col |
Lasso/ridge color (vector of length 2) |
parlist |
List of arguments to pass to |
Fig2.1()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.