Plot output from forsearch_lm to show change in residual variation as the number of observations in the forward search procedure increases. Save plot in folder containing working directory.
plotdiag.s2(forn, maintitle = "Put main title here", subtitle = "Put subtitle here",
caption = "Put caption here", wmf = "Put_graph_filename_here",
Cairo=TRUE,printgraph=TRUE, addline = c("none","loess","straight"),
verbose = TRUE)Process and plot residual variation statistics from forsearch_lm
Name of output file from forsearch_lm
Main title of plot
Subtitle of plot
Content of caption
File name of stored plot; omit ".wmf"
TRUE causes use of Cairo graphics
TRUE causes graph to print to file and closes device
add a line to the graph; abbreviation allowed
If TRUE, indicates beginning and end of function
William R. Fairweather
Atkinson, A and M Riani. Robust Diagnostic Regression Analysis, Springer, New York, 2000.