# Bootstrap summary of a linear model for mtcars:
model <- lm(mpg ~ hp + vs, data = mtcars)
boot_summary(model, R = 99) |> summary_to_flextable()
# Export to Word:
if (FALSE) {
boot_summary(model, R = 99) |>
summary_to_flextable() |>
flextable::save_as_docx(path = "my_table.docx")
}
Run the code above in your browser using DataLab