diversity: diversity

Description Usage Arguments Value Examples

Description

Calculates a diversity coefficient for a population, grouped by by MSOA The coefficient is related to the normalised variance of the population and will range from 0 (if only one ethnicity is present) to 1 (if equal populations of each ethnicity).

Usage

1
diversity(synpop)

Arguments

synpop

the synthesised or projected population

Value

a two colum data table containing the MSOA and the diversity coefficient

Examples

1
2

virgesmith/demographyMicrosim documentation built on May 29, 2019, 12:42 p.m.