plot.aug.lars | R Documentation |
Plot TRACE displays for aug.lars regression coefficients. The default is to display all Five TRACEs on one page with no legend.
## S3 method for class 'aug.lars'
plot(x, trace = "all", trkey = FALSE, ...)
x |
Output list object of class aug.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 beta coefficient trace, "rmse" to display only the estimated relative MSE risk trace, "exev" to display only the estimated excess MSE eigenvalue (OLS minus larlso), "infd" to display only the estimated inferior direction cosine trace, or "spat" to display only the delta-factor pattern trace. |
trkey |
If TRUE, display a crude legend at the bottom of each trace plot. |
... |
Optional argument(s) passed on to plot(). |
NULL
Bob Obenchain <wizbob@att.net>
data(longley2)
form <- GNP~GNP.deflator+Unemployed+Armed.Forces+Population+Year+Employed
rxlobj <- aug.lars(form, data=longley2)
plot(rxlobj)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.