true_hill: Calculate the true Hill numbers

View source: R/alpha_true.R

true_hillR Documentation

Calculate the true Hill numbers

Description

Calculate the true Hill numbers

Usage

true_hill(input, q)

Arguments

input

A vector of proportions.

q

The Hill number of interest. q = 0 corresponds to species richness, q = 2 corresponds to inverse Simpson, etc.

Value

The Hill number of the population given by input.


breakaway documentation built on Nov. 22, 2022, 5:08 p.m.