Fig2.11: Reproduce Figure 2.11

View source: R/bc-tcga-ic.R

Fig2.11R Documentation

Reproduce Figure 2.11

Description

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

Usage

Fig2.11(fit)

Arguments

fit

ncvreg() fit to the TCGA data; see examples

Examples

attachData(bcTCGA)
fit <- ncvreg(X, y, penalty='lasso', lambda.min=0.005)
Fig2.11(fit)


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