# 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 libraries for models and data
library(robust)
# fit model
gm <- glmRob(am ~ wt, data = mtcars, family = "binomial")
# summarize model fit with tidiers
tidy(gm)
glance(gm)
}
# }
Run the code above in your browser using DataLab