simpson_diversity2: Simpson Diversity 2

Description Usage Arguments Value

View source: R/diversity_functions2.R

Description

This function takes a population vector as its argument, then calls on the function universal_diversity2, supplying it with the population argument, and a value for q (=2). Universal diversity then calulcates a universal diversity measure based on the population and q value, and passes it back to simpson_diversity2 which calculates 1/"universal diversity measure", to return the Simpson diversity index.

Usage

1
simpson_diversity2(population)

Arguments

population

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

Value

simpson.diversity - a measurement of the simpson diversity for the entered population


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