Calculate alpha, beta and gamma parametric entropies and diversities

Share:

Description

Calculates parametric diversities of individual sites of a data set

Usage

1
eds1(x, q = 1, retq = TRUE)

Arguments

x

the input matrix or data frame.

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.

Value

a vector of entropies or diversities

See Also

dev2div, ed1, eds, eds1

Examples

1
2
3
4
5
6
7
data(spider6)
eds1(spider6[,1:6])
eds1(spider6[,1:6],q=0)
eds1(spider6[,1:6],q=2)
eds1(spider6[,1:6],retq=FALSE)
data(spider6)
eds1(spider6[,1:6])