Fig3.1: Reproduce Figure 3.1

View source: R/concave-penalties.r

Fig3.1R Documentation

Reproduce Figure 3.1

Description

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

Usage

Fig3.1(
  range = c(-4, 4),
  col = c("#FF4E37FF", "#00B500FF", "#008DFFFF"),
  which = c("all", "left", "middle", "right", "all"),
  parlist
)

Arguments

range

Range for beta coefficient (vector of length 2)

col

Lasso/ridge color (vector of length 2)

which

left, middle, right, or all

parlist

List of arguments to pass to par()

Examples

Fig3.1()
Fig3.1(which='middle')

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