# NOT RUN {
if (require("robust", quietly = TRUE)) {
m <- lmRob(mpg ~ wt, data = mtcars)
tidy(m)
augment(m)
glance(m)
gm <- glmRob(am ~ wt, data = mtcars, family = "binomial")
glance(gm)
}
# }
Run the code above in your browser using DataLab