boot_f_lm | R Documentation |
Generate R bootstrap replicates of a lm function applied to data.
boot_f_lm(data, index, lm.formula)
data |
data frame with variables for model fitting |
index |
indices to be used for calculation |
lm.formula |
object of class formula to be passed into lm function |
A matrix with bootstrapped estimates of r squared and adjusted r squared
https://www.datacamp.com/community/tutorials/bootstrap-r
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.