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

Arguments

range

Range for beta coefficient (vector of length 2)

col

Lasso/ridge color (vector of length 2)

parlist

List of arguments to pass to par()

Examples

Fig3.1()

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