Diversity.factor | R Documentation |
Diversity
calls Tsallis to calculate entropy and transforms it into diversity by calculating its deformed exponential.
## S3 method for class 'factor'
Diversity(NorP, q = 1, Correction = "Best", ..., CheckArguments = TRUE)
NorP |
A vector of factors. |
q |
A number: the order of entropy. Some corrections allow only a positive number. Default is 1 for Shannon entropy. |
Correction |
A string containing one of the possible corrections: |
... |
Further arguments passed to entropart::Tsallis, entropart::Diversity, entropart::Richness, entropart::Shannon or entropart::Simpson (S3 methods for class 'AbdVector' or 'numeric') |
CheckArguments |
If |
A named number equal to the calculated diversity. The name is that of the bias correction used.
Diversity(Paracou6$marks$PointType)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.