An S4 class to represent a diversity measure.
Slots
.DataA
numericvector of diversity measures.labelsA
charactervector giving the sample names.sizeAn
integervector giving the sample sizes.dataA
numericmatrix of count data.methodA
characterstring specifying the method used.simulationA four columns
numericmatrix giving the diversity measures for the simulated assemblage (samplesize,meanestimate,lowerandupperboundaries of the confidence interval).seedA
numericvector giving the value of .Random.seed before the simulation was started; otherwise it is the user specified value with akindattribute with valueas.list(RNGkind()).
Note
This class inherits from base numeric.
Coerce
In the code snippets below, x is an DiversityIndex object.
as.data.frame(x)Coerces to a
data.frame.
