Generate a boostrap replicate

resample_bootstrap(data)

Arguments

data

A data frame

Examples

coef(lm(mpg ~ wt, data = resample_bootstrap(mtcars)))
#> (Intercept) wt #> 34.265973 -4.587739
coef(lm(mpg ~ wt, data = resample_bootstrap(mtcars)))
#> (Intercept) wt #> 37.997859 -5.424096
coef(lm(mpg ~ wt, data = resample_bootstrap(mtcars)))
#> (Intercept) wt #> 38.134504 -5.674193