Thin pass-through that adapts an rmorie-style
statistic(data) -> scalar callable to boot::boot's
statistic(data, indices) -> scalar signature and returns
the raw boot object. Useful when the caller wants to use
boot's downstream helpers (boot::boot.ci,
boot::tilt.boot, boot::jack.after.boot) directly.
Arguments
- data
A numeric vector, matrix, or data.frame.
- statistic
Function
f(data) -> scalar.- R
Number of bootstrap replicates.
- strata
Optional integer stratification vector.
- ...
Forwarded to
boot::boot.
Value
A boot object as returned by boot::boot.