Skip to contents

Units ordered by distance to the centre: ACE compares cumulative group shares with cumulative area, RCE compares two groups' cumulative shares (units at equal distance pooled).

Usage

CentralizationIndex(x, center_distance, area = NULL)

Arguments

x

Units x groups count matrix.

center_distance

Distance of each unit to the centre.

area

Optional unit areas (for ACE).

Value

list(ACE, RCE).

References

Massey, D. S. and Denton, N. A. (1988). Social Forces 67, 281-315.

Examples

CentralizationIndex(rbind(c(10, 0), c(5, 5), c(0, 10)), c(0, 1, 2))$RCE
#>            [,1]      [,2]
#> [1,]  0.0000000 0.8888889
#> [2,] -0.8888889 0.0000000