Learn R Programming

tabula (version 2.0.0)

DiversityIndex-class: Diversity Index

Description

An S4 class to represent a diversity measure.

Arguments

Slots

names

A character vector giving the sample names.

size

A integer vector giving the sample sizes.

simulation

A four columns numeric matrix giving the diversity measures for the simulated assemblage (sample size, mean estimate, lower and upper boundaries of the confidence interval).

method

A character string specifying the method used.

Coerce

In the code snippets below, x is an DiversityIndex object.

as.data.frame(x)

Coerces to a data.frame.

Get

In the code snippets below, x is an DiversityIndex object.

get_method(x)

Returns the method used to compute the index.

Author

N. Frerebeau

See Also

get_method()