Description Usage Arguments Value Author(s)
View source: R/estimate_error.R
This function estimates errors made on measuring the mean by calculating the standard deviation of a bootstrapped distribution.
1 | estimate_error(speciesData, indivData, nPC, wholeBird = T)
|
speciesData |
A data frame with PC loadings and metadata at the species level. |
indivData |
A data frame with PC loadings and metadata at the individual level. |
nPC |
How many PC to retain? Either an integer i, then PC 1 to i will be retained, or a vector of integers representing what PCs to retain. |
wholeBird |
Logical. Whether the analysis is conducted per bird (T) or per patch (F). |
A vector of estimated errors, one for each dependent variable defined by nPC
.
Raphael Scherrer
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.