Fig2.2: Reproduce Figure 2.2

View source: R/thresh.R

Fig2.2R Documentation

Reproduce Figure 2.2

Description

Reproduces Figure 2.2 from the book; if you specify any options, your results may look different.

Usage

Fig2.2(range = c(-2.5, 2.5), col = c("#FF4E37FF", "#008DFFFF"))

Arguments

range

Range for beta coefficient (vector of length 2)

col

Lasso/ridge color (vector of length 2)

Examples

Fig2.2()


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