Learn R Programming

OasisR (version 1.0.0)

Eta2: A function to compute adjusted isolation index (Eta2)

Description

Adjusted isolation index (also known as Eta2 or the Correlation Ratio index) adapts isolation index xPx by taking into account the differences in area population proportions.

Usage

Eta2(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 adjusted isolation index

References

Bell W. (1954) A probability model for the measurement of ecological segregation. Social Forces 32(4), pp. 357-364 Massey D. S. and Denton N. A. (1988) The dimensions of residential segregation. Social Forces 67(2), pp. 281-315.

See Also

Bell's isolation index: xPx Interaction index: xPy

Examples

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

Run the code above in your browser using DataLab