Skip to content

mlfit

0.5.3

Iterative Proportional Fitting Algorithms for Nested Structures

0packages depend
3Kdownloads / year
88.4%test coverage
13/13checks pass

Overview

About
Maintained by Amarin SiripanichFirst published 2021-07-022 releasesCRAN page ↗GitHub ↗

The Iterative Proportional Fitting (IPF) algorithm operates on count data. This package offers implementations for several algorithms that extend this to nested structures: 'parent' and 'child' items for both of which constraints can be provided. The fitting algorithms include Iterative Proportional Updating https://trid.trb.org/view/881554, Hierarchical IPF doi:10.3929/ethz-a-006620748, Entropy Optimization https://trid.trb.org/view/881144, and Generalized Raking doi:10.2307/2290793. Additionally, a number of replication methods is also provided such as 'Truncate, replicate, sample' doi:10.1016/j.compenvurbsys.2013.03.004.

Install

Health

CRAN checks
13OK
Slowest check: 2.8 min · r-oldrel-windows-x86_64
Code health
Yes
Tests · ratio 0.42
88.4%
Coverage · measured lines
100%
Documentation · exports
13
Dependencies · direct
Check history
  • OK2026-08-05
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-08-01
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMENoVignettesNopkgdown siteNoNEWSNoCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
80%
Return-value docs
100%
References docs
30%

Downloads

3K
CRAN downloads in the past year
Rank #14,346 · ~8/day · ~252/mo
Daily download trend is not available in this view yet.
16730 days
71890 days
3K1 year
Compare downloads with other packages →
Also on86 r2u18 autocran

Repository

Repository
14Stars
12Forks
8Open issues
6Open PRs
18Releases
1,218Commits
5Contributors
License GPL-3.0 · 1,218 commits · Last activity 2026-08-08

Stars over time

2024-07-26 · 142026-07-07 · 14

Repository practices

Upstream repositoryBeta

9 development-tooling and community-health practices detected across 7 families in the upstream repository

Checks run against github.com/mlfit/mlfit on 2026-08-16.

Continuous integration (1)
GitHub Actions
Reproducibility and dev environment (2)
data-raw/Makefile
CRAN release process (1)
cran-comments.md
Docs source (1)
README.Rmd
Show all practices
Lint, format, editor (2)
lintrRStudio project
Coverage (1)
Codecov
Git structural (1)
.gitattributes
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
15 external dependencies (excludes base and recommended)
Depends (1)
methods
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

People & History

People (4)
Maintainer (1)
Author, Maintainer
Authors (2)
Author, Maintainer
Author, Copyright holder
Copyright holders (1)
Author, Copyright holder
Other (2)
Thesis advisor
Thesis advisor
Package Timeline

2 releases. Pick two to compare their code metrics. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • 0.5.3Latest
    2021-10-08 · current release · diff ↗
  • 0.5.2
    2021-07-02
  • R
    R 4.1.0 released · 2021-05-18

Package metadata

First published
2021-07-02
Total releases
2 / 5 yrs
License
GPL (>= 3) OSI
Download size
137 KB
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("mlfit")
Siripanich, A., Axhausen, K. W., Müller, K., & Rashidi, T. H. (2021). mlfit: Iterative Proportional Fitting Algorithms for Nested Structures (Version 0.5.3) [Computer software]. https://doi.org/10.32614/CRAN.package.mlfit

This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.

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 mlfit version 0.5.3 [Data set]. HJJB, LLC. Data release v2026-08-16. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-16, 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