Thin pass-through that builds a tidymodels-style
rset of bootstrap resamples via
rsample::bootstraps and returns it untouched.
Arguments
- data
A data.frame.
- times
Number of bootstrap resamples (default 25).
- ...
Forwarded to
rsample::bootstraps(e.g.strata,apparent).
Examples
if (requireNamespace("rsample", quietly = TRUE)) {
set.seed(1)
rs <- morie_rsample_bootstraps(data.frame(x = rnorm(30)), times = 5L)
class(rs)
}
#> [1] "bootstraps" "rset" "tbl_df" "tbl" "data.frame"
