# NOT RUN {
library(robustbase)
# From the robustbase::lmrob examples:
data(coleman)
set.seed(0)
m <- robustbase::lmrob(Y ~ ., data = coleman)
tidy(m)
augment(m)
glance(m)
# From the robustbase::glmrob examples:
data(carrots)
Rfit <- glmrob(cbind(success, total - success) ~ logdose + block,
family = binomial, data = carrots, method = "Mqle",
control = glmrobMqle.control(tcc = 1.2)
)
tidy(Rfit)
augment(Rfit)
# }
Run the code above in your browser using DataLab