Description Usage Arguments Value Functions Examples
mean_ci
Function estimates CIs using nonparametric bootstrapping around a
mean estimate.
1 |
observations |
A vector of observations given as numeric values |
bootstraps |
The number of bootstraps you want to run to create the CIs, defaults to 100000 |
conf |
The confidence level wanted. Defaults to 95% CI. |
type |
A vector of character strings representing the type of intervals required to calculate the CI. Defaults to "bca". See ??boot.ci for more information. |
The estimated CIs around a mean estimate.
mean_ci
: Estimates CIs around a mean percentile estimate using
non-parametric bootstrapping from the boot package
1 2 3 4 5 6 7 | # Estimate when the mean observation of Rudbeckia hirta for the year 2019 up
# to October
data(inat_examples)
r_hirta <- subset(inat_examples, scientific_name == "Rudbeckia hirta")
mean_ci(observations = r_hirta$doy , bootstraps = 100)
# note low number of bootstraps for quick processing speed
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.