Fig2.2 | R Documentation |
Reproduces Figure 2.2 from the book; if you specify any options, your results may look different.
Fig2.2(range = c(-2.5, 2.5), col = c("#FF4E37FF", "#008DFFFF"))
range |
Range for beta coefficient (vector of length 2) |
col |
Lasso/ridge color (vector of length 2) |
Fig2.2()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.