Fig3.2 | R Documentation |
Reproduces Figure 3.2 from the book; if you specify any options, your results may look different.
Fig3.2(
n = 200,
p = 1000,
which = c("all", "mcp", "scad", "lasso", "adaptive"),
seed = 105,
ylim = c(-4.1, 4.1),
parlist
)
n |
Sample size |
p |
Number of features |
which |
|
seed |
Random number seed for reproducibility |
ylim |
Vertical limits, passed to plot() |
parlist |
List of arguments to pass to |
Fig3.2()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.