estSimpsonf: Estimator for Simpson's index odered by a factorial variable f.
Description
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.
Usage
estSimpsonf(X, f)
Arguments
X
$n$ times $p$ matrix containing species in $p$ columns
and replicates in $n$rows.
f
Factor variable comtaining treatment groups. Must be of length: replicates
times treatment groups.
Value
estimateEstimated Simpson index for treatment groups
varestEstimated variance of Simpson's index for
treatment groups