Estimation function for Simpson's index. Internal use in
sbdiv
for methods rpht
, tsht
,
asht
. Sums up species counts in each columns for every
treatment group and estimates Simpson's index on the resulting vectors
of summed up species counts.
estSimpsonf(X, f)
Estimated Simpson index for treatment groups
Estimated variance of Simpson's index for treatment groups
\(n\) times \(p\) matrix containing species in \(p\) columns and replicates in \(n\)rows.
Factor variable comtaining treatment groups. Must be of length: replicates times treatment groups.