Learn R Programming

OasisR (version 1.0.0)

Gorard: A function to compute Gorard's segregation index

Description

Gorard's index is an alternative to segregation indices based on Duncan's index. The index varies between 0 (minimum segregation) and 1 (maximum segregation).

Usage

Gorard(x)

Arguments

x
- an object of class matrix (or that can be coerced to that class), where each column represents the distribution of a population group, within spatial units. The number of columns should be greater than one (at least two population groups are require

Value

  • A vector with Gorard segregation index

References

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

See Also

Other evenness intragroup indices: Duncan, Morill, Wong, Gini Intergroup dissimilarity index: DI

Examples

Run this code
x <- slot(GreHSize, 'data')[ ,3:5]
Gorard(x)

Run the code above in your browser using DataLab