localIndexH: Computes the local entropy index H for all localities.

Description Usage Arguments Value Author(s) References

View source: R/segreg_local.R

Description

Computes the local entropy index H for all localities.

Usage

1
localIndexH(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

array with scores for n groups (number of groups).

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.