| ethno_beta | R Documentation |
Posterior probability that a random informant cites a use for a species, with a credible interval. Valid for small samples and rare uses, where the bootstrap in ethno_boot fails.
ethno_beta(data, level = 0.9, prior = c(1, 1))
data |
An ethnobotany data set with columns 'informant' and 'sp_name' and one column per use category. Any value above 0 counts as a citation. |
level |
Credible interval level. Default 0.9. |
prior |
Beta prior, c(a, b). Default c(1, 1) is uniform. |
A data frame with one row per species and use: 'k' informants citing, 'n' informants, posterior 'mean', 'lower' and 'upper'.
Informants are treated as independent and as a random sample of the community. This is the share of informants citing a use, not the Use Value, which can exceed 1.
ethno_beta(ethnobotanydata)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.