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

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


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