Learn R Programming

migration.indices (version 0.3.1)

migration.cv.in: In-migration Coefficient of Variation

Description

As "the coefficient of variation is defined as the standard deviation to mean ratio of a distribution", the In-migration Coefficient of Variation is computed by dividing the standard deviation (with the nominator being \(n\) instead of \(n-1\)) of the in-migration flows by the mean.

Usage

migration.cv.in(m)

Arguments

m

migration matrix

Value

A numeric vector of standardized values where a higher (\(\neq 0\)) shows more spatial focus.

References

  • Andrei Rogers and Stuart Sweeney (1998) Measuring the Spatial Focus of Migration Patterns. The Professional Geographer 50, 232--242

See Also

migration.cv.out migration.acv.in migration.acv.out migration.acv

Examples

Run this code
# NOT RUN {
data(migration.hyp)
migration.cv.in(migration.hyp)    # 0.2000000 0.5000000 0.3333333
migration.cv.in(migration.hyp2)   # 0.2000000 0.0000000 0.4285714
# }

Run the code above in your browser using DataLab