Description Usage Arguments Value Examples
Apply fun
to the data n
times. The data is randomly sampled
each time. This yields both more robust results and approximate confidence
intervals for the results. Due to the random sampling, the results of this
function are stochastic. Set the seed with set.seed(n)
for
reproducible results.
1 |
pred |
A vector of predictions |
actual |
A vector of actual values |
fun |
The function to apply |
draws |
Number of times to randomly sample the data for bootstrapping. Larger numbers yield better results, but also increase runtime. |
parallel |
Bool. Run in parallel? |
... |
Arguments passed to fun |
A list containing the results of each iteration
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.