Learn R Programming

RXshrink (version 1.0-5)

plot.RXuclars: Plot method for RXuclars objects

Description

Plot trace displays for RXuclars regression coefficients. The default is to display all five traces on one page with no legends.

Usage

## S3 method for class 'RXuclars':
plot(x, trace = "all", trkey = FALSE, \dots)

Arguments

x
Output list object of class RXuclars.
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 t
trkey
If TRUE, display a crude legend at the bottom of each trace plot.
...
Optional argument(s) passed on to plot().

Value

  • NULL

Examples

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

Run the code above in your browser using DataLab