Returns a data_frame with columns stat (names of provided stats), observed (observed value of stats applied to data, t0 in boot), and ci_lo/ci_hi.
1 2 |
data |
Data that's provided to 'boot' |
stats |
Function or named vector/list of statistics to compute bootstrapped CIs for. Statistics should take data as their first argument, and indices as their second, and return a scalar statistic. |
R |
Number of bootstrap samples (default: 1000) |
ci_level |
Percentage for CI (default 0.95) or lower/upper quantiles of CI. |
h0 |
Optional null value of statistics for p value computation |
na_rm |
Whether to remove NAs in quantile calculation |
... |
Additional arguments passed to boot. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.