Fig1.5: Reproduce Figure 1.5

View source: R/ridge-loocv.r

Fig1.5R Documentation

Reproduce Figure 1.5

Description

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

Usage

Fig1.5(
  lwd = 3,
  xlim = c(3, -3),
  ylim = c(800, 4000),
  xlab = expression(lambda),
  ylab = "Prediction error",
  ...
)

Arguments

lwd, xlim, ylim, xlab, ylab

As in plot()

...

Further arguments to plot()

Examples

Fig1.5()

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