plot.ridge: Plot a ridge regression coefficient path

View source: R/ridge.R

plot.ridgeR Documentation

Plot a ridge regression coefficient path

Description

Plot a ridge regression coefficient path

Usage

## S3 method for class 'ridge'
plot(
  x,
  xaxis = c("loglam", "df", "both"),
  standardize = FALSE,
  xlab,
  ylab,
  ...
)

Arguments

x

An object of class "ridge", as returned by ridge()

xaxis

One of "loglam", "df", or "both". If "both", the bottom axis is lambda (log scale), and the top is df.

standardize

As in coef() (default: FALSE)

xlab, ylab

As in plot()

...

Additional arguments to matplot()


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