Learn R Programming

OasisR (version 3.1.0)

Atkinson: A function to compute Atkinson segregation index

Description

The spatial version of Atkinson inequality index is based on Lorenz curves. The user can decide wich part of the curve contributes more to the index, by choosing the value of the shape parameter, delta.

Usage

Atkinson (x, delta = 0.5)

Value

a numeric vector containing the Atkinson's segregation index value for each group

Arguments

x

- an object of class matrix (or which can be coerced to that class), where each column represents the distribution of a group within spatial units. The number of columns should be greater than 1 (at least 2 groups are required). You should not include a column with total population, because this will be interpreted as a group.

delta

- an inequality aversion parameter

References

James, D. and K. E. Taeuber (1985) Measures of Segregation. Sociological Methodology 15, pp. 1-32

See Also

One-group evenness indices: ISDuncan, Gini, Gorard, HTheil, 'ISWong, ISMorrill, ISMorrillK

Between groups dissimilarity indices: DIDuncan, Gini2, DIMorrill, DIMorrillK, DIWong

Examples

Run this code
x <- segdata@data[ ,7:8]
Atkinson(x) 
Atkinson(x, 0.1)
Atkinson(x, delta = 0.9)

Run the code above in your browser using DataLab