div-sumStats: Hill number summary statistics for 'roleData' objects.

hillAbundR Documentation

Hill number summary statistics for 'roleData' objects.

Description

These functions calculate Hill numbers. The naming convention indicates what type of Hill number each function calculates; e.g. 'hillAbund' calculates abundance-based Hill numbers, while 'hillTrait' calculates trait-based Hill numbers.

Usage

hillAbund(x, q = 1:4, ...)

## S4 method for signature 'roleData'
hillAbund(x, q = 1:4)

hillGenetic(x, q = 1:4, ...)

## S4 method for signature 'roleData'
hillGenetic(x, q = 1:4)

hillTrait(x, q = 1:4, ...)

## S4 method for signature 'roleData'
hillTrait(x, q = 1:4)

hillPhylo(x, q = 1:4, ...)

## S4 method for signature 'roleData'
hillPhylo(x, q = 1:4)

richness(x, ...)

## S4 method for signature 'roleData'
richness(x)

Arguments

x

The 'roleData' object to calculate Hill numbers or richness from

q

The Hill number exponents. Can be a single value or a vector of integers.

...

additional parameters, ignored

Details

See Gaggiotti et al. 2018 for an overview of Hill numbers in the context of ecology and evolution.

References

Gaggiotti, Oscar E, Anne Chao, Pedro Peres-Neto, Chun-Huo Chiu, Christine Edwards, Marie-Josée Fortin, Lou Jost, Christopher M Richards, and Kimberly A Selkoe. “Diversity from Genes to Ecosystems: A Unifying Framework to Study Variation across Biological Metrics and Scales.” Evol. Appl. 11, no. 7 (2018): 1176–93. https://doi.org/10.1111/eva.12593.


role-model/roleR documentation built on April 3, 2025, 1:06 p.m.