inst/snippets/Example10.13.R

body.model <- lm(Bodyfat ~ Weight + Abdomen, data = BodyFat)
msummary(body.model)
histogram( ~ resid(body.model), breaks = 10)
xyplot(resid(body.model) ~ fitted(body.model), type = c("p", "r"), cex = 0.5)
rpruim/Lock5withR documentation built on May 28, 2019, 1:31 a.m.