| diversityProfile | R Documentation |
Compute Hill numbers across a continuous range of diversity orders (q), producing a diversity profile for each site and the regional pool.
diversityProfile(
x,
q = seq(0, 3, by = 0.1),
type = c("both", "per_site", "regional"),
coords = NULL
)
x |
A site-by-species matrix (abundance data). |
q |
Numeric vector. Orders of diversity to evaluate. Default
|
type |
Character. What to compute: |
coords |
Optional data.frame with columns |
A diversity profile plots effective number of species as a function of the
order q. The key property is that Hill numbers are non-increasing in q:
D_q \ge D_{q'} for q \le q'.
q = 0: Species richness (insensitive to abundance)
q = 1: Exponential of Shannon entropy (all species weighted equally by their proportional abundance)
q = 2: Inverse Simpson concentration (emphasizes dominant species)
q > 2: Increasingly dominated by common species
An object of class spacc_profile containing:
per_site |
Matrix of per-site diversity (sites x q values), or |
regional |
Named numeric vector of gamma diversity per q, or |
q |
Vector of diversity orders used |
coords |
Coordinates if provided |
n_sites |
Number of sites |
n_species |
Number of species |
Leinster, T. & Cobbold, C.A. (2012). Measuring diversity: the importance of species similarity. Ecology, 93, 477-489.
Chao, A., Chiu, C.H. & Jost, L. (2014). Unifying species diversity, phylogenetic diversity, functional diversity, and related similarity and differentiation measures through Hill numbers. Annual Review of Ecology, Evolution, and Systematics, 45, 297-324.
alphaDiversity() for per-site values at specific q,
gammaDiversity() for regional diversity, evenness() for evenness
profiles
species <- matrix(rpois(50 * 30, 2), nrow = 50)
prof <- diversityProfile(species)
print(prof)
plot(prof)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.