Learn R Programming

MCPAN (version 1.1-21)

Simpson: Calculate the Simpson index

Description

Calculate the Simpson index from a vector of proportions.

Usage

Simpson(p)

Arguments

p

a numeric vector of proportions