Gorard: A function to compute Gorard's segregation index

Description Usage Arguments Value References See Also Examples

View source: R/SegFunctions.R

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

1
Gorard(x)

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

Value

a numeric vector containing the Gorard's segregation index value for each 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

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

Example output

[1] 0.75 0.25

OasisR documentation built on Aug. 30, 2017, 5:06 p.m.