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, parlist = list(mfrow = c(1, 2), mar = c(5, 5, 5, 0.5)))

Arguments

cvfit

glmnet() fit to the TCGA data; see examples

parlist

List of arguments to pass to par()

Examples

attachData(bcTCGA)
cvfit <- cv.glmnet(X, y)
Fig2.10(cvfit)

pbreheny/hdrm documentation built on Jan. 17, 2024, 8:53 p.m.