View source: R/ethno_saturation.R
| ethno_saturation | R Documentation |
Number of distinct species-use citations as informants are added in random order. A curve that is still rising means more interviews would still find new uses, so use probabilities and rankings are likely to change.
ethno_saturation(data, n_perm = 200, level = 0.9)
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. |
n_perm |
Number of random informant orderings. Default 200. |
level |
Interval level across orderings. Default 0.9. |
A data frame with 'n_informants', and the 'mean', 'lower' and 'upper' number of distinct species-use pairs.
sat <- ethno_saturation(ethnobotanydata)
plot(sat$n_informants, sat$mean, type = "l",
xlab = "Informants", ylab = "Distinct species-use pairs")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.