Fig2.10 | R Documentation |
Reproduces Figure 2.10 from the book. If you specify any options, your results may look different.
Fig2.10(cvfit, which = c("both", "left", "right"), parlist)
cvfit |
|
which |
|
parlist |
List of arguments to pass to |
attach_data(brca1)
cvfit <- cv.glmnet(X, y)
Fig2.10(cvfit)
Fig2.10(cvfit, 'left')
Fig2.10(cvfit, 'right')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.