estShannonWY: Estimator for Shannon's index row wise.

Description Usage Arguments Value

Description

Estimation function for Shannon's index. Internal use in WYht. Calculates Shannon-Wiener index with bias correction

\widehat{HBC}_{ij} = \hat{H}_{ij} + (S_{ij} -1)/(2N_{ij}) - (1-∑_{s=1}^{S}(1/\hat{p}_{ijs}))/(12N_{ij}^2) - ∑_{s=1}^{S}((1/\hat{p}_{ijs})-(1/(\hat{p}_{ijs}^2)))/(12N_{ij}^3);

\hat{H}_{ij}=(-1)∑_{s=1}^{S}(\hat{p}_{ijs} log(\hat{p}_{ijs}))

i=1,...,k;j=1,...,n;s=1,...,S;

S_j = Number of observed species in replicate j;

N_j= Number of observed individuals in replicate j

for every row in a n \times p matrix.

Usage

1

Arguments

x

Vector of p numerical species counts.

Value

Shannon-Wiener index with bias correction


simboot documentation built on May 2, 2019, 9:14 a.m.