Fig2.10: Reproduce Figure 2.10

View source: R/bc-tcga.r

Fig2.10R Documentation

Reproduce Figure 2.10

Description

Reproduces Figure 2.10 from the book. If you specify any options, your results may look different.

Usage

Fig2.10(cvfit, which = c("both", "left", "right"), parlist)

Arguments

cvfit

glmnet() fit to the TCGA data; see examples

which

left, right, or both

parlist

List of arguments to pass to par()

Examples

attach_data(brca1)
cvfit <- cv.glmnet(X, y)
Fig2.10(cvfit)
Fig2.10(cvfit, 'left')
Fig2.10(cvfit, 'right')

pbreheny/hdrm documentation built on March 29, 2025, 5:18 a.m.