Get 50% off unlimited learning
Buy Now
Rdocumentation
powered by
Learn R Programming
BEQI2 (version 2.0-0)
margalef: Margalef Index of Diversity
Description
Margalef Index of Diversity is given by
D
=
S
−
1
ln
(
N
)
Usage
margalef(taxon, count)
Arguments
taxon
character vector with taxa
count
integer vector with counts
Value
Margalef diversity index (numeric vector of length 1)
Details
For $N=1$, the index is set to 0.