Description Usage Arguments Value References See Also Examples

The Migration-weighted Mean Gini Index is simply the
average of the Migration-weighted In-migration
(`migration.weighted.gini.in`

) and the
Migration-weighted Out-migration
(`migration.weighted.gini.out`

) Gini Indices:

*MWG^A = \frac{MWG^O + MWG^I}{2}*

1 | ```
migration.weighted.gini.mean(m, mwgi, mwgo)
``` |

`m` |
migration matrix |

`mwgi` |
optionally passed (precomputed) Migration-weighted In-migration Gini Index |

`mwgo` |
optionally passed (precomputed) Migration-weighted Out-migration Gini Index |

This combined index results in a number between 0 and 1 where 0 means no spatial focusing and 1 shows maximum focusing.

M. Bell, M. Blake, P. Boyle, O. Duke-Williams, P. Rees, J. Stillwell and G. Hugo (2002) Cross-National Comparison of Internal Migration. Issues and Measures.

*Journal of the Royal Statistical Society. Series A (Statistics in Society)***165**, 435–464

`migration.weighted.gini.in`

`migration.weighted.gini.out`

1 2 3 | ```
data(migration.hyp)
migration.weighted.gini.mean(migration.hyp) # 0.06111111
migration.weighted.gini.mean(migration.hyp2) # 0.03660714
``` |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.