Draws a Cook's distance plot.
output from the function "lm()".
Returns the plot and identifies the three highest Cook's values
# Peruvian Indians data
fit1<-lm(BP~age+years+I(years^2)+weight+height, data = peru.df)
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.
Questions? Problems? Suggestions? Tweet to @rdrrHQian@mutexlabs.com.
All documentation is copyright its authors; we didn't write any of that.