pop_tab: Total flows of a DF

Description Usage Arguments Value Examples

View source: R/pop_tab.R

Description

This function computes the margins of the OD matrix: emissions, attractions, intraflows for each spatial unit from a long format matrix of flows.

Usage

1
pop_tab(tabflows, tabdist, idori, iddes, idflow, iddist)

Arguments

tabflows

A data.frame of flows (long format: origin, destination, flow)

tabdist

asf

idori

identifiant ori

iddes

identifiant des

idflow

identifiant flux

iddist

identifiant dist

Value

A data.frame of totals origins, destinations, internals flows and sum of distance for origins and destination of each city

Examples

1

Geographie-cites/toyspace documentation built on July 11, 2019, 6:07 p.m.