From HMisc. A very fast implementation of the basic nonparametric bootstrap for obtaining confidence limits for the population mean without assuming normality.
ci_boot(x, conf_int = 0.95, B = 1000, na_rm = TRUE, reps = FALSE)
x | a numeric vector from which NAs will be removed automatically |
---|---|
conf_int | specifies the confidence level (0-1) for interval estimation of the population mean. |
B | number of bootstrap resamples |
na_rm | defaults to |
reps | set to |
A vector of summary statistics.