# NOT RUN {
# feel free to ignore the following line<U+2014>it allows {broom} to supply
# examples without requiring the model-supplying package to be installed.
if (requireNamespace("robust", quietly = TRUE)) {
# load modeling library
library(robust)
# fit model
m <- lmRob(mpg ~ wt, data = mtcars)
# summarize model fit with tidiers
tidy(m)
augment(m)
glance(m)
}
# }
Run the code above in your browser using DataLab