Description Usage Arguments Value See Also Examples
Takes either (1) a mdm or (2) a scaler, vector or matrix of deviances, and extracts or converts then to diverities. The relationship between deviance (dev) and diversity (d) is given by div = exp(dev/2/n) where n is the number of units (typically rows of a matrix) over which deviance is being averaged.
1 | dev2div(x, n)
|
x |
a mdm or a scaler, vector or matrix of deviances. |
n |
if x is not a mdm, then the divisor in the conversion as defined as above. |
The diversity of x.
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.