bootR_run | R Documentation |
Bootstrapping confidence intervals with base R.
bootR_run(data, func, times = 1000, alpha = 0.05, seed = NULL, ...)
data |
Dataframe of raw data. |
func |
Function applied to data by bootstrapping. |
times |
Number of bootstrap replicates. Default is 1000. |
alpha |
Alpha used by percentile to give interval in
|
seed |
Seed for random number generator. If |
... |
Other named arguments for |
Generate a dataframe of estimates using he boot::boot
function for
bootstrapping and boot::boot.ci
to compute the confidence intervals.
Dataframe with term, .lower, .estimate, .upper, .alpha, .method.
boot::boot boot::boot.ci
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.