plotdiag.Cook {forsearch} | R Documentation |
Plot Diagnostic Statistics of Modified Cook's Distance
Description
Plot output from forsearch_lm or forsearch_lme to show change in Modified Cook's distance as the number of observations in the forward search procedure increases. Save plot in folder containing working directory.
Usage
plotdiag.Cook(forn, maintitle = "Put main title here", subtitle = "Put subtitle here",
caption = "Put caption here", wmf = "Put_plot_file_title_here",
Cairo=TRUE, printgraph=TRUE, addline = "none", verbose = TRUE)
Arguments
forn |
Name of forward search output file |
maintitle |
Main title of plot |
subtitle |
Subtitle of plot |
caption |
Content of caption |
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 |
addline |
Character variable to add a line to the graph; options: "none", "loess", and "straight"; abbreviation allowed |
verbose |
If TRUE, indicates beginning and end of function |
Value
Process and plot Cook distance statistics 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.