rao: Rao's quadratic entropy

Description Usage Arguments Value

Description

Computes Rao's quadratic entropy from a distance matrix and community matrix.

Usage

1
rao(X, D, ord = TRUE)

Arguments

D

A species by species distance matrix.

X

A sites by species community matrix.

ord

Order rows and columns of the matrices? (defaults to TRUE). Note that sites are never ordered.

Value

A vector of diversity indices (one for each site).


funphylocom documentation built on May 2, 2019, 5 p.m.