universal_diversity2: Calculate Diversity Index

Description Usage Arguments Value

View source: R/universal_diversity2.R

Description

A function which calculates a diversity measure, dependent on the population and the value for q passed to it. This function can be used to calculate the Diversity value for species richness and Simpson diversity. It can be called by other functions which pass a population and a value of q to it.

Usage

1
universal_diversity2(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.