estShannonWY {simboot} | R Documentation |
Estimator for Shannon's index row wise.
Description
Estimation function for Shannon's index. Internal use in
WYht
. Calculates Shannon-Wiener index with bias correction
HBCij=H^ij+(Sij−1)/(2Nij)−(1−∑s=1S(1/p^ijs))/(12Nij2)−∑s=1S((1/p^ijs)−(1/(p^ijs2)))/(12Nij3);
H^ij=(−1)∑s=1S(p^ijslog(p^ijs))
i=1,...,k;j=1,...,n;s=1,...,S;
Sj=
Number of observed species in replicate j
;
Nj=
Number of observed individuals in replicate j
for every row in a n×p
matrix.
Usage
estShannonWY(x)
Arguments
x |
Vector of p numerical species counts.
|
Value
Shannon-Wiener index with bias correction
[Package
simboot version 0.2-8
Index]