
Bootstrap a statistical model n times to return a data.frame of estimates.
model_bootstrap(model, iterations = 1000, verbose = FALSE, ...)
Statistical model.
The number of draws to simulate/bootstrap.
Hide possible refit messages.
Arguments passed to or from other methods.
A data.frame.
# NOT RUN {
model <- lm(mpg ~ wt + cyl, data = mtcars)
head(model_bootstrap(model))
# }
Run the code above in your browser using DataLab