Description Usage Arguments Value Examples
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).
1  | diversity(synpop)
 | 
synpop | 
 the synthesised or projected population  | 
a two colum data table containing the MSOA and the diversity coefficient
1 2  | p = microsynthesise()
d = diversity(p)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.