berger_parker3: Berger-Parker 3

Description Usage Arguments Value

View source: R/diversity_functions3.R

Description

This package will calculate the Berger-Parker f Indexor a population. It accepts a population vector, then calls on the universal_diversity3 function, and passes the population vector and a q value (q=Infinity) to it. universal_diversity3 will return a universal diversity value. shannon_entropy3 will divide 1 by the returned diversity measure to obtain a value for the Berger-Parker Index, and return this value as a single numeric value of Berger-Parker Index for the population.

Usage

1
berger_parker3(population)

Arguments

population

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

Value

berger.parker - the Berger-Parker Index for the population


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