sdi: Generate a Simpson Diversity Index Number

Description Usage Arguments Examples

View source: R/SDI.R

Description

Generate a Simpson Diversity Index Number

Usage

1

Arguments

data

Dataset

type

The type of Simpson index you'd like to generate. Reciprocal is 1/Pa, Dominance is 1-Pa, Blank is just the Simpson Index

column

Column which contains the count/tally of people from each country.

Examples

1
sdi("Unique Student Static", EnrolmentData, type = "reciprocal")

Zanidean/sRa documentation built on May 7, 2019, 7:44 a.m.