Last chance! 50% off unlimited learning
Sale ends in
GammaDiversity(MC, q, Correction = "Best", Tree = NULL, Normalize = TRUE,
CheckArguments = TRUE)
MetaCommunity
object."ChaoShen"
, "Grassberger"
, "Holste"
, "Bonachela"
or "Best"
, the default value.TRUE
(default), diversity is not affected by the height of the tree.
If FALSE
, diversity is proportional to the height of the tree.TRUE
, the function arguments are verified. Should be set to FALSE
to save time when the arguments have been checked elsewhere.GammaEntropy
and transformed into diversity.GammaEntropy
# Load Paracou data (number of trees per species in two 1-ha plot of a tropical forest)
data(Paracou618)
# Calculate Simpson gamma diversity
GammaDiversity(Paracou618.MC, 2)
# Compare without correction
GammaDiversity(Paracou618.MC, 2, Correction = "None")
# Estimate phylogenetic Simpson gamma diversity
GammaDiversity(Paracou618.MC, 2, Tree = Paracou618.Taxonomy)
Run the code above in your browser using DataLab