Learn R Programming

breakaway (version 4.8.4)

true_hill: Calculate the true Hill numbers

Description

Calculate the true Hill numbers

Usage

true_hill(input, q)

Value

The Hill number of the population given by input.

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.