Learn R Programming

OasisR (version 1.0.0)

LQ: A function to compute location quotients (LQs)

Description

Location quotients compare the relative part of group in each spatial unit to the relative part of that same group in the area.

Usage

LQ(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 matrix with LQs

References

Isard W. (1960) Methods of regional analysis: an introduction to regional science. The MIT Press, Cambridge

See Also

Other local indices: local entropy index HLoc

Examples

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

Run the code above in your browser using DataLab