An S4 class to represent a diversity measure.
Slots
.Data
A
numeric
vector of diversity measures.labels
A
character
vector giving the sample names.size
An
integer
vector giving the sample sizes.data
A
numeric
matrix of count data.method
A
character
string specifying the method used.simulation
A four columns
numeric
matrix giving the diversity measures for the simulated assemblage (samplesize
,mean
estimate,lower
andupper
boundaries of the confidence interval).
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
.