Learn R Programming

⚠️There's a newer version (1.1.1) of this package.Take me there.

TDLM

Systematic comparison of trip distribution laws and models

1 Install

The package TDLM can be installed with the following command line in R session:

# install.packages("devtools")
devtools::install_github("EpiVec/TDLM")

2 Tutorial

A tutorial vignette is available here.

3 Dependencies

TDLM depends on Ecume, mathjaxr, Rdpack, readr, rmarkdown and sf.

4 Citation

Lenormand M, Bassolas A & Ramasco JJ (2016) Systematic comparison of trip distribution laws and models. Journal of Transport Geography 51, 158-169.

Copy Link

Version

Install

install.packages('TDLM')

Monthly Downloads

250

Version

0.1.0

License

GPL-3

Maintainer

Maxime Lenormand

Last Published

March 17th, 2023

Functions in TDLM (0.1.0)

run_law_model

Estimate mobility flows based on different trip distribution laws and models
run_model

Estimate mobility flows based on different trip distribution models
county

Spatial distribution of US Kansas counties in 2000
calib_param

Automatic calibration of trip distribution laws' parameter
run_law

Estimate mobility flows based on different trip distribution laws
extract_spatial_information

Extract distances and surface areas from a spatial object
check_format_names

Check format of TDLM's inputs
extract_opportunities

Compute the number of opportunities between pairs of locations
gof

Compute goodness-of-fit measures between observed and simulated OD matrices
distance

Great-circle distances between US Kansas counties
mass

Population and number of out- and in-commuters by US Kansas county in 2000
od

Origin-Destination commuting matrix between US Kansas counties in 2000