bootstrap | R Documentation |
Computes bootstrap resamples of a statistic
bootstrap(x, y = NULL, fun, boot.reps = 1000, alpha = 0.05)
x |
A numeric vector. |
y |
NULL (default) or a numeric vector for statistics that require a second numeric vector |
fun |
A character vector of the desired statistic function. For instance, to calculate the variance of values in the numeric vector, pass "var". |
boot.reps |
The number of bootstrapping replications. |
alpha |
The significance level for calculating a confidence interval. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.