Learn R Programming

migration.indices (version 0.3.1)

migration.field.diagram: Joint plot for in and out-migration fields

Description

This migration field diagram makes easy to visualize both direction of migration. E.g. points above the diagonal "are outward redistributors, while those below that line are inward redistributors."

Usage

migration.field.diagram(
  m,
  method = c("gini", "acv"),
  title = "Migration field diagram",
  xlab = "Out-migration",
  ylab = "In-migration"
)

Arguments

m

migration matrix

method

measurement of in and out-migration

title

plot title

xlab

label for x axis

ylab

label for y axis

References

  • Source code was adopted from Michael Ward and Kristian Skrede Gleditsch (2008) Spatial Regression Models. Thousand Oaks, CA: Sage. with the permission of the authors.

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

Examples

Run this code
# NOT RUN {
data(migration.world)
par(mfrow = c(2, 1))
migration.field.diagram(migration.world)
migration.field.diagram(migration.world, method = 'acv')
# }

Run the code above in your browser using DataLab