Skip to content

Systematic Comparison of Trip Distribution Laws and Models

0packages depend
2.9Kdownloads / year
–test coverage
13/13flavors OK

Overview

About

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.

Changes in 1.1.4

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 eps argument to run_law_model() and run_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() and run_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

CRAN checks
13OK
Slowest check: 4.0 min · r-devel-windows-x86_64
Status changes
  • 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
Advisories

none known

Documentation

In release 1.1.4
READMEYes · 248 wordsVignettesYes · 1 · dynamicNEWSYes · 100% structured · mentions 1.1.4Citation fileYes · cites a publicationWebsiteYes · pkgdown
Cites a JOSS paper
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

2.9K
CRAN downloads in the past year
Rank #14,921 · ~8/day · ~245/mo
Daily download trend is not available in this view yet.
31530 days
79590 days
2.9K1 year
Compare downloads with other packages →
Also on126 r2u5 autocran

Repository

rtdlm/tdlm ↗Organization: RTDLM
4Stars
1Forks
1Open issues
0Open PRs
7Releases
121Commits
1Commit identities
rr-package
License file reads as GPL-3.0 · 121 commits · Last activity 2026-09-24 · 0% stars, 30d
Responsiveness
How these are sampled
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

2025-03-12 · 32026-07-07 · 4
PracticesBeta

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.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Docs source (3)
pkgdown

GitHub Pages site last deployed 2026-09-24 · The repository has a site deploy workflow

pkgdown site last built 2026-09-24

Coverage (1)
Coverage reporting (Codecov)
Research and citation (1)
CITATION.cff
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
8 external dependencies (excludes base and recommended)

Installing TDLM adds 108 packages (60 with compiled code, 88 MB of source tarballs). Heaviest: stringi 11 MB, sf 9.3 MB, ggplot2 6.0 MB.

Depends (1)
R >= 4.0.0
LinkingTo (0)
none
Suggests (2)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Datasets

People & History

People (1)
Author, Maintainer since 0.1.0 (2023)
Releases (7)

Pick two releases to compare their code metrics.

  • 1.1.4Latest
    record
    2026-07-22 · current release · diff ↗
  • R
    R 4.6.0 released · 2026-04-24
  • 1.1.3
    record
    2025-10-03 · diff ↗
  • 1.1.2
    record
    2025-05-06 · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • 1.1.1
    record
    2025-03-06 · diff ↗
  • 1.1.0
    record
    2025-01-07 · diff ↗ ·
    added 1 export
    extract_distances
  • R
    R 4.4.0 released · 2024-04-24
  • 1.0.0
    record
    2023-12-19 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 0.1.0
    record
    2023-03-17
  • R
    R 4.2.0 released · 2022-04-22

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.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for TDLM version 1.1.4 [Data set]. HJJB, LLC. Data release v2026-10-18. https://doi.org/10.5281/zenodo.21843040

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.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy