Estimation Methods for Gravity Models
Overview
A wrapper of different standard estimation methods for gravity models. This package provides estimation methods for log-log models and multiplicative models.
- Updated maintainer's email
- Avoids 1:NROW() and uses seq_len() instead
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK14 OK2026-03-10
Documentation
- Help pages
- 20 (1 internal)
- Examples that run
- 100%19 run in a plain check
- Exported functions with examples
- 100%
- Documented parameters
- 100%
- Return-value docs
- 100%
- Help pages citing references
- 80% with a bibliography file
Downloads
Repository
- PRs merged (all time)
- 100%
- Median days to close, 50 most recently updated closed issues
- 0
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Forks over time
Issues over time
PRs over time
11 development-tooling and community-health practices detected across 7 families in the upstream repository
Checks run against github.com/pachadotdev/gravity on 2026-10-18.
The R CMD check workflow runs on Linux, macOS and Windows
Funding links: buymeacoffee.com
The repository owner accepts GitHub Sponsors
Show all practicesHide 3 practices
Dependencies
Installing gravity adds 37 packages (20 with compiled code, 28 MB of source tarballs). Heaviest: stringi 11 MB, Rcpp 1.8 MB, collapse 1.4 MB.
Code & Tests
Datasets
People & History
Previously maintained by Anna-Lena Woelwer (0.3 to 0.6).
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- unarchivedReturned to CRAN2023-05-02
- 1.1Latest
- RR 4.3.0 released · 2023-04-21
- archivedRemoved from CRAN2023-04-02email to the maintainer is undeliverable
- RR 4.2.0 released · 2022-04-22
- 1.02022-01-05 · diff ↗
- RR 4.1.0 released · 2021-05-18
- unarchivedReturned to CRAN2020-07-27
- 0.9.92020-07-27 · diff ↗
- archivedRemoved from CRAN2020-07-26check problems were not corrected in time
- RR 4.0.0 released · 2020-04-24
- 0.9.82019-05-08 · diff ↗
- RR 3.6.0 released · 2019-04-26
Show 9 earlier eventsHide 9 earlier events
- 0.9.7
- 0.9.0
- 0.8.52018-09-20 · diff ↗ ·
removed 14 exports
BVU, BVW, DDM, EK_Tobit, ET_Tobit, Fixed_Effects, GPML, NBPML, NLS, OLS, PPML, SILS, Tetrads, Tobitadded 14 exports
bvu, bvw, ddm, ek_tobit, et_tobit, fixed_effects, gpml, nbpml, nls, ols, ppml, sils, tetrads, tobit - RR 3.5.0 released · 2018-04-23
- 0.6
- 0.5
- RR 3.4.0 released · 2017-04-21
- 0.32017-01-31
- RR 3.3.0 released · 2016-05-03
Package metadata
- First published
- 2017-01-31
- Total releases
- 10 / 9 yrs
- License
- Apache License (>= 2) · relicensed from GPL-3 in 1.0
- Minimum R
- ≥ 3.4.0
- Bundled data
- 477 KB / 2 files
- Download size
- 638 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("gravity")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-22, which the citation names so these numbers can be found later. More on citing and the projects behind them.