Learn R Programming

diversityArch (version 0.1.0)

dec_equit: Decomposition of the equitability index

Description

Computes equitability and its decomposition

Usage

dec_equit(x, groups)

Value

  • equitability: Equitability index.

  • within: Within groups equitability.

  • between: Between groups equitability.

Arguments

x

Vector of dimension S (spicies) with the numbers of observed individuals in each spicy. NA values are allowed. 0 values are converted to NA.

groups

Vector of dimension S of factors indicating the groups.

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 (2025): Quantifying Diversity through Entropy Decomposition. Insights into Hominin Occupation and Carcass Processing at Qesem cave"

See Also

dec_shannon

Examples

Run this code
data(Qesem_s)
dec_equit(Qesem_s$HU, Qesem_s$Group)

Run the code above in your browser using DataLab