Fig2.11 | R Documentation |
Reproduces Figure 2.11 from the book. If you specify any options, your results may look different.
Fig2.11(fit)
fit |
|
attach_data(brca1)
fit <- ncvreg(X, y, penalty='lasso', lambda.min=0.005)
Fig2.11(fit)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.