Learn R Programming

OasisR (version 2.0.1)

LQ: A function to compute location quotients (LQs)

Description

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

Usage

LQ(x)

Arguments

x

- an object of class matrix (or which 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 1 (at least 2 population groups are required). You should not include a column with total population in each unit, because this will be interpreted as a group.

Value

a matrix of location quotiens

References

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

See Also

Other local indices LShannon HLoc, LSimpson

Examples

Run this code
# NOT RUN {
x <- segdata@data[ ,1:2]
LQ(x) 
# }

Run the code above in your browser using DataLab