Description Usage Arguments Value Examples

This function sums the total amount of redistributions according to the three absolute deviations (global, territorial, spatial).

1 2 |

`x` |
a data frame. |

`var1` |
name of the numerator variable in x. |

`var2` |
name of the denominator variable in x. |

`ref` |
ratio of reference; if NULL, the ratio of reference is the one of
the whole study area ( |

`key` |
aggregation key field. |

`spdf` |
a SpatialPolygonsDataFrame that matches x data frame. |

`order` |
contiguity order. |

`dist` |
distance threshold defining the contiguity. The cartesian
distance between units centroids is used by default
(see |

`mat` |
a distance matrix (road distance, travel time...) between x units. Row and column names must fit xid identifiers. (optional) |

`spdfid` |
identifier field in spdf, default to the first column of the spdf data frame. (optional) |

`xid` |
identifier field in x, default to the first column of x. (optional) |

A dataframe including the mass of numerator to redistribue to reach a perfect equilibrium according to the 3 contexts, expressed in numerator measure unit and as a share of the numerator mass.

1 2 3 4 5 6 7 8 9 10 11 12 |

MTA documentation built on May 14, 2018, 5:03 p.m.

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.