localEntropy: Computes the local entropy score for a unit area Ei...

Description Usage Arguments Value Author(s) References

View source: R/segreg_local.R

Description

Computes the local entropy score for a unit area Ei (diversity).

Usage

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

A data frame with id and local indexes of entropy.

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.