Learn R Programming

modelr (version 0.1.1)

resample_bootstrap: Generate a boostrap replicate

Description

Generate a boostrap replicate

Usage

resample_bootstrap(data)

Arguments

data

A data frame

Examples

Run this code
# NOT RUN {
coef(lm(mpg ~ wt, data = resample_bootstrap(mtcars)))
coef(lm(mpg ~ wt, data = resample_bootstrap(mtcars)))
coef(lm(mpg ~ wt, data = resample_bootstrap(mtcars)))
# }

Run the code above in your browser using DataLab