For building and evaluating species distribution models, the porportion of presences of the species may be issues to take into account (e.g. Jimenez-Valverde & Lobo 2006, Barbosa et al. 2013). The
prevalence function calculates this measure.
a vector of binary observations (e.g. 1 vs. 0, male vs. female, disease vs. no disease, etc.).
the value whose prevalence we want to calculate (e.g. 1, "present", etc.).
logical, whether NA values should be excluded. The default is TRUE.
Numeric value of the prevalence of
event in the
A. Marcia Barbosa
Barbosa A.M., Real R., Munoz A.R. & Brown J.A. (2013) New measures for assessing model equilibrium and prediction mismatch in species distribution models. Diversity and Distributions, in press
Jimenez-Valverde A. & Lobo J.M. (2006) The ghost of unbalanced species distribution data in geographical model predictions. Diversity and Distributions, 12: 521-524.
1 2 3 4 5 6 7 8 9 10 11
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.