plotdiag.residuals {forsearch} | R Documentation |
Plot Diagnostic Statistics Of Residuals Or Squared Residuals
Description
Plot output from forsearch_lm or forsearch_lme to show change in residuals or squared residuals as the number of observations in the forward search procedure increases. Save plot in folder containing working directory.
Usage
plotdiag.residuals(forn, squared = FALSE, hilos = c(1, 0), maintitle, subtitle,
caption, wmf, Cairo=TRUE,printgraph=TRUE,
legend = "Dummy legend name", verbose = TRUE)
Arguments
forn |
Name of forward search output file |
squared |
TRUE causes residuals to be squared before plotting |
hilos |
Number of observations having high and number having low values of residuals to identify. No low values are identified for squared residual plot. |
maintitle |
Main title of plot |
subtitle |
Subtitle of plot |
caption |
Caption of plot |
wmf |
File name of stored plot; omit ".wmf" |
Cairo |
TRUE causes use of Cairo graphics |
printgraph |
TRUE causes graph to print to file and closes device |
legend |
Legend title |
verbose |
If TRUE, indicates beginning and end of function |
Value
Process and plot changes in residuals or squared residuals from forsearch_lm or forsearch_lme
Author(s)
William R. Fairweather
References
Atkinson, A and M Riani. Robust Diagnostic Regression Analysis, Springer, New York, 2000.