globalEntropy: Computes the global entropy score E (diversity).

Description Usage Arguments Value Author(s) References

View source: R/segreg_global.R

Description

Computes the global entropy score E (diversity).

Usage

1
globalEntropy(pop, pop_intensity)

Arguments

pop

A data frame with id, group, and number of population.

pop_intensity

A data frame with id and population intensity for all groups. Result from popIntensity.

Value

Display the diversity score.

Author(s)

Beatriz Moura dos Santos

References

Iceland (2004. The multigroup entropy index (also known as Theil’s H or the information theory index). US Census Bureau, Retrieved July, 31, 2006.

Sousa (2017). Segregation Metrics. https://github.com/sandrofsousa/Resolution/blob/master/Pysegreg/segregationMetrics.py.


biamouras/accSeg documentation built on Nov. 19, 2020, 8:07 a.m.