Systematic Comparison of Trip Distribution Laws and Models
Overview
The main purpose of this package is to propose a rigorous framework to fairly compare trip distribution laws and models as described in Lenormand et al. (2016) doi:10.1016/j.jtrangeo.2015.12.008.
This is a list of changes made between TDLM 1.1.3 (CRAN release 2025-09-03) and
TDLM 1.1.4 (CRAN release 2026-07-22).
- Updated
vignette. - Modified the method for generating a matrix of integers from the output of the
IPF procedure in DCM. The PCM is now used instead of UM
(https://github.com/RTDLM/TDLM/blob/master/java/TDLM.java#L571).
- Added the
epsargument torun_law_model()andrun_model()allowing to
choose the value used to replace zero values in the marginals of the Doubly
Constrained Model (in order to avoid numerical issues during the IPF procedure).
The value 0.01 was hard-coded in the function before
(https://github.com/RTDLM/TDLM/blob/master/java/TDLM.java#L495).
- Corrected an issue with
DCM(run_law_model()andrun_model()) and the
Show all changes in 1.1.4Hide the rest of the changes in 1.1.4
way it handles zeroes in pij. It was particularly problematic with
law = "Unif" (
https://github.com/RTDLM/TDLM/blob/master/java/TDLM.java#L505).
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-06-09
- ERROR12 OK, 1 ERROR2026-06-08
- OK13 OK2026-05-02
Show 2 earlier changesHide 2 earlier changes
- ERROR11 OK, 1 ERROR2026-04-25
- NOTE12 OK, 2 NOTE2026-03-10
Documentation
- Help pages
- 19 (4 internal)
- Examples that run
- 100%9 run in a plain check
- Exported functions with examples
- 100%
- Documented parameters
- 100%
- Return-value docs
- 100%
- Help pages citing references
- 32% with a bibliography file
Downloads
Repository
- PRs merged (all time)
- 100%
- Median days to close, 50 most recently updated closed issues
- 7
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Forks over time
Releases over time
Issues over time
Commits over time
7 development-tooling and community-health practices detected across 4 families in the upstream repository
Checks run against github.com/rtdlm/tdlm on 2026-10-11.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
GitHub Pages site last deployed 2026-09-24 · The repository has a site deploy workflow
pkgdown site last built 2026-09-24
Dependencies
Code & Tests
Datasets
People & History
Package metadata
- First published
- 2023-03-17
- Total releases
- 7 / 3 yrs
- License
- GPL-3 OSI
- Minimum R
- ≥ 4.0.0
- Bundled data
- 3.1 MB / 10 files
- Download size
- 4.6 MB
Cite
Cite this package
Run in R for the authors' entry:
citation("TDLM")The package provides a citation file, so citation() returns the authors' own entry.
It points to 10.21105/joss.05434.
The repository also keeps a CITATION.cff.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-18, which the citation names so these numbers can be found later. More on citing and the projects behind them.