Description Usage Arguments See Also Examples
View source: R/cooksPlot.R View source: R/OriginalPlotFuncitons_NOTUSED.R
Simple function to produce a plot of the Cook's Distance for each observation after a model run in lm().
1 2 3 4 5 6 7 8 9 10 |
obj |
Object from an lm() fiitted equation. |
ylim |
Optional ylim for the plot. |
key.variable |
Required if lm() data object is of tibble class. Name of the unique key variable (identifier variable). If data object is of data.frame class, this is optional and row.names will be used instead. |
print.obs |
Logical: Should observations outside the specified sigma level be printed to the console? |
print.plot |
Logical: Should plot be created? |
sort.obs |
Logical: Should observations (if print.obs=TRUE) be sorted? |
all.obs |
Logical: Should all observations be printed? |
save.cutoff |
Logical: Should the Cook's Distance cutoff be saved to the Global Environment? |
studResidPlot
levPlot
threeOuts
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.