Skip to content

mlfit

0.5.3Package record

Iterative Proportional Fitting Algorithms for Nested Structures

0packages depend
3.2Kdownloads / year
88.4%test coverage
13/13flavors OK

Overview

About

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.7 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 0.5.3
README· In the repository, left out of the releaseVignettesNoNEWS· In the repository, left out of the releaseCitation fileNoWebsiteYes · pkgdown
Help pages
10 (1 internal)includes a package overview page
Examples that run
100%7 run in a plain check
Exported functions with examples
78%
Documented parameters
80%
Return-value docs
100%
Help pages citing references
30%

Downloads

3.2K
CRAN downloads in the past year
Rank #14,122 · ~9/day · ~263/mo
Daily download trend is not available in this view yet.
38830 days
83090 days
3.2K1 year
Compare downloads with other packages →
Also on61 r2u3 autocran

Repository

mlfit/mlfit ↗Organization: mlfit
14Stars
12Forks
8Open issues
6Open PRs
18Releases
1,247Commits
6Commit identities
License file reads as GPL-3.0 · 1,247 commits · Last activity 2026-10-11 · Default branch at 0.6.1.9043, ahead of CRAN 0.5.3 (checked 2026-10-18)
Responsiveness
How these are sampled
PRs merged (all time)
94%
Median days to close, 50 most recently updated closed issues
9
Median days to close, 50 most recently updated closed PRs
0

Stars over time

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

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

Checks run against github.com/mlfit/mlfit on 2026-10-18.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux and Windows

Docs source (4)
README.Rmdpkgdown

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

Coverage (1)
Coverage reporting (Codecov)
Reproducibility and dev environment (2)
data-raw/Makefile
Show all practicesHide 3 practices
CRAN release process (1)
cran-comments.md
Lint, format, editor (2)
lintrRStudio project
Git structural (1)
.gitattributes
How this is detected·Detection ruleset v3 (2026-09-26)
AI coding toolsBeta

This repository shows signs of AI coding tools.

  • Claude Codefirst seen on or before 2026-05-16
    Commits: 1 by its own account · at least 32 crediting it in the message
Models named in its commits
  • Claude Opus 57 commits · Aug to Sep 2026
  • Claude Opus 5.53 commits · Sep 2026
  • Claude Fable 51 commit · Aug 2026
Counts are commits, not lines of code. Commits by a tool's accounts count once across all of its accounts. Commits crediting it are the largest count among its credit lines, a minimum.How this is detected·Detection ruleset v4 (updated 2026-09-27)

Dependencies

Declared dependencies
15 external dependencies (excludes base and recommended)

Installing mlfit adds 26 packages (15 with compiled code, 8.2 MB of source tarballs). Heaviest: Rcpp 1.8 MB, vctrs 1.0 MB, dplyr 902 KB.

Depends (1)
methods
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Datasets

People & History

People (4)
Author, Maintainer since 0.5.2 (2021)
Contributed `ml_replicate()`
Author, Copyright holder
Creator of the package
Thesis advisor
Advisor of Kirill Müller
Thesis advisor
Advisor of Amarin Siripanich
Releases (2)

Pick two releases to compare their code metrics.

  • 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
    record
    2021-10-08 · current release · diff ↗
  • 0.5.2
    record
    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

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 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.

APA

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

From data release v2026-10-21, 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