RXshrink (version 2.3)

plot.uc.lars: Plot method for uc.lars objects

Description

Plot TRACE displays of lars regression coefficients for the uncorrelated components of the X-matrix. The default option of trace = "all" displays all Five TRACEs on one page.

Usage

# S3 method for uc.lars
plot(x, trace = "all", trkey = FALSE, ...)

Value

NULL

Arguments

x

Output list object of class uc.lars.

trace

One of seven possible options: "all" to display 5 traces in one graph, "seq" to display 5 full-sized traces in sequence in response to user prompts, "coef" to display only the estimated shrunken beta coefficient trace, "rmse" to display only the estimated relative MSE risk trace, "exev" to display only the estimated excess MSE eigenvalue (OLS minus ridge) trace, "infd" to display only the estimated inferior direction cosine trace, or "spat" to display only the shrinkage (delta) factor pattern trace.

trkey

If TRUE, display a crude legend at the bottom-right of each trace plot.

...

Optional argument(s) passed on to plot().

Author

Bob Obenchain <wizbob@att.net>

Examples

Run this code
  data(longley2)
  form <- GNP~GNP.deflator+Unemployed+Armed.Forces+Population+Year+Employed
  rxucobj <- uc.lars(form, data=longley2)
  plot(rxucobj)

Run the code above in your browser using DataLab