simpson_diversity4: Simpson Diversity 4

Description Usage Arguments Value

View source: R/diversity_functions4.R

Description

This package will calculate the Simpson Diversity for a population. It accepts a population vector, then calls on the universal_diversity4 function, and passes the population vector and a q value (q=2) to it. universal_diversity4 will return a universal diversity value. simpson_diversity3 will then divide 1 by the returned diversity measure to obtain a value for Simpson Diversity, and return this value as a single numeric value of Simpson DIversity for the population.

Usage

1
simpson_diversity4(population)

Arguments

population

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

Value

simpson.diversity - the Simpson Diversity for the population


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