plotdiag.lrt | R Documentation |
Plot output from forsearch_cph to show change in likelihood ratio test as the number of observations in the forward search procedure increases. Save plot in folder containing working directory.
plotdiag.lrt(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)
forn |
Name of output file from forsearch_cph |
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 |
Add a line to the graph; abbreviation allowed. Default none |
verbose |
If TRUE, indicates beginning and end of function |
Process and plot likelihood ratio test statistics from forsearch_cph
William R. Fairweather
Atkinson, A and M Riani. Robust Diagnostic Regression Analysis, Springer, New York, 2000.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.