universal_diversity4: Universal Diversity 4

Description Usage Arguments Value

View source: R/universal_diversity4.R

Description

This function can accept a value for population, and a value for q, and returns a universal diversity measure for the population based on the value of q. There is also a check to see whether q has more than one value, and if it does will stop and produce an error message.

Usage

1
universal_diversity4(population, q)

Arguments

population

- a set of population counts, containing the number of individuals of each species within the population

q

a diversity measure

Value

diversity - a diversity index which is dependent on the value of q which has been supplied


EdieBishop/ProgInRBCIfunc documentation built on Dec. 23, 2019, 10:16 p.m.