An S4 class to represent a diversity measure.
namesA character vector giving the sample names.
sizeA integer vector giving the sample sizes.
simulationA four columns numeric matrix giving the diversity
measures for the simulated assemblage (sample size, mean estimate,
lower and upper boundaries of the confidence interval).
methodA character string specifying the method used.
In the code snippets below, x is a DiversityIndex object.
x[[i]]Extracts information from a slot selected by subscript i.
i is a length-one character vector. Returns the corresponding slot
values.
In the code snippets below, x is an DiversityIndex object.
as.data.frame(x)Coerces to a data.frame.
N. Frerebeau