powered by
lmdiags(x, which = c(1L:3L, 5L), cook.levels = c(0.5, 1))
lm
cook.levels
c(0.5,1)
glm
yh
plot.lm
plotSimDiags.lm
women.lm <- lm(weight ~ height, data=women) veclist <- lmdiags(x=women.lm) ## Returns the statistics that are required for graphs 1, 2, 3, and 5
Run the code above in your browser using DataLab