Learn R Programming

OasisR (version 3.1.0)

Gorard: A function to compute Gorard's segregation index

Description

Gorard's index is an alternative to ISDuncan's index, which measures the dissimilarity between the distribution of a group and the total population.

Usage

Gorard(x)

Value

a numeric vector containing the Gorard'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 totals because this will be interpreted as a group

References

Gorard S. (2000) Education and Social Justice. Cardiff, University of Wales Press

See Also

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

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

Examples

Run this code
x <- segdata@data[ ,1:2]
Gorard(x)

Run the code above in your browser using DataLab