View source: R/concave-penalties.r
Fig3.1 | R Documentation |
Reproduces Figure 3.1 from the book; if you specify any options, your results may look different.
Fig3.1(
range = c(-4, 4),
col = c("#FF4E37FF", "#00B500FF", "#008DFFFF"),
which = c("all", "left", "middle", "right", "all"),
parlist
)
range |
Range for beta coefficient (vector of length 2) |
col |
Lasso/ridge color (vector of length 2) |
which |
|
parlist |
List of arguments to pass to |
Fig3.1()
Fig3.1(which='middle')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.