eds: Calculate alpha, beta and gamma parametric entropies and diversities
Description
Calculates alpha, beta and gamma parametric diversities of a data set.
The matrix or data frame is automatically scaled to row sums of one.
Unlike true diversities where weighting is done through the function ed,
weighting for parameterized diversity is done within the MDM,
or more genrelaly by using case weights.
Usage
eds(x, q = 1, w = 1, retq = TRUE)
Arguments
x
the input matrix or data frame.
w
weights if required.
q
the order of diversity; typically 0, 1 or 2.
retq
if TRUE then parametric diversities are returned; if FALSE the entropies for alpha and gamma are returned.