all_indices: Diversity indices

View source: R/all_indices.R

all_indicesR Documentation

Diversity indices

Description

Computes and prints all the diversity indices

Usage

all_indices(x, groups = NULL, B = 1000, cl = 0.95)

Arguments

x

Vector of dimension S (number of species) with the number of individuals observed in each species, or the distribution frequencies of species (in this case the Margalef and Menhinick indices and bootstrap intervals are not computed). NA values are allowed.

groups

Vector of dimension S of factors indicating the groups. If omitted, the decomposition of the indicators is not done.

B

Number of bootstrap samples. The default value is 1000.

cl

Confidence level. A value between 0 and 1. The default value is 0.95.

Value

No return value. It prints the value of all indicators

References

Arnaud Barat, Andreu Sansó, Maite Arilla-Osuna, Ruth Blasco, Iñaki Pérez-Fernández, Gabriel Cifuentes-Alcobenda, Rubén Llorente, Daniel Vivar-Ríos, Ella Assaf, Ran Barkai, Avi Gopher, & Jordi Rosell-Ardèvol (2026) <doi:10.1007/s10816-026-09802-3>.

See Also

shannon, dec_shannon, dominance, equitability, evenness, margalef, menhinick, simpson_D, simpson_E

Examples

data(Qesem_s)
all_indices(Qesem_s$HU)
all_indices(Qesem_s$HU, Qesem_s$Group)


diversityArch documentation built on June 13, 2026, 5:07 p.m.