A ggplot object that contains a cook's distance plot
Arguments
fitted.lm
a fitted linear model (i.e. lm, glm) that contains fitted regression
label
logical; whether or not to label observation number larger than threshold.
Default to TRUE.
show.threshold
logical; determine whether or not threshold line is to be shown. Default to TRUE.
threshold
string; determining the cut off label of cook's distance. Choices are
"baseR" (0.5 and 1), "matlab" (mean(cooksd)*3), and "convention" (4/n and 1). Default to "convention".
scale.factor
numeric; scales the point size and linewidth to allow customized viewing. Defaults to 0.5.