estShannonf {simboot} | R Documentation |
Estimator for Shannon's index odered by a factorial variable f.
Description
Estimation function for Shannon's index. Internal use in
sbdiv
for methods rpht
, tsht
,
asht
. Sums up species counts in each columns for every
treatment group and estimates Shannon's index with bias correction on
the resulting vectors of summed up species counts.
;
Number of observed individuals in treatment
.
Usage
estShannonf(X, f)
Arguments
X |
|
f |
Factor variable containing treatment groups. Must be of length: replicates times treatment groups. |
Value
estimate |
Estimated Shannon-Wiener index for treatment groups |
varest |
Estimated variance of Shannon-Wiener index for treatment groups |
[Package simboot version 0.2-8 Index]