DiversityIndex: Diversity Index

DiversityIndexR Documentation

Diversity Index

Description

An S4 class to represent a diversity measure.

Slots

names

A character vector giving the sample names.

values

A numeric vector giving the diversity index values.

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.

Subset

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.

Coerce

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

as.data.frame(x)

Coerces to a data.frame.

Author(s)

N. Frerebeau

See Also

Other classes: PermutationOrder-class, RefineCA-class


tesselle/tabula documentation built on April 29, 2022, 4:01 p.m.