Fig1.5: Reproduce Figure 1.5

View source: R/ridge-gcv.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(50, 250),
  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 Jan. 17, 2024, 8:53 p.m.