Plot output from forsearch_lm or forsearch_lme to show change in leverage of each observation as the number of observations in the forward search procedure increases. Save plot in folder containing working directory.
plotdiag.leverage(forn, hilos = c(1, 0), maintitle = "Put main title here",
subtitle = "Put subtitle here", caption="Put caption here",wmf = "Put_graph_title_here",
Cairo=TRUE, printgraph = TRUE, verbose = TRUE)Process and plot Cook distance statistics from forsearch_lm or forsearch_lme
Name of forward search output file
Vector with number of highest observations and number of lowest observations on graph to identify
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
If TRUE, indicates beginning and end of function
William R. Fairweather
Atkinson, A and M Riani. Robust Diagnostic Regression Analysis, Springer, New York, 2000.