boot | R Documentation |
A generic function to boostrap the desired statistics.
boot(data, FUN, alpha = 0.05, nrep = 5000, ...)
data |
The data sets. |
FUN |
A function comuting the desired statistics. |
alpha |
Type I error rate. Default is .05. |
nrep |
Number of repetitions for the boostrap. Default is 5000. |
... |
Optional arguments for |
Return the estimates computed by FUN
, their standard error and their 100 * (1-\alpha)
% confidence interval.
boot(data = rpois(n = 10, lambda = 5), FUN = median, nrep = 10)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.