Skip to content

ipfr

List Balancing for Reweighting and Population Synthesis

v1.0.2 · Apr 1, 2020 · Apache License (== 2.0)

Description

Performs iterative proportional updating given a seed table and an arbitrary number of marginal distributions. This is commonly used in population synthesis, survey raking, matrix rebalancing, and other applications. For example, a household survey may be weighted to match the known distribution of households by size from the census. An origin/ destination trip matrix might be balanced to match traffic counts. The approach used by this package is based on a paper from Arizona State University (Ye, Xin, et. al. (2009) <http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.537.723&rep=rep1&type=pdf>). Some enhancements have been made to their work including primary and secondary target balance/importance, general marginal agreement, and weight restriction.

Downloads

CRAN

249

Last 30 days

17158th

635

Last 90 days

2.8K

Last year

Trend: +50.9% (30d vs prior 30d)

r2u CRAN

9

Last 30 days

23

Last 90 days

101

Last year

Trend: -35.7% (30d vs prior 30d)

autoCRAN

2

Last 7 days

12

Last 30 days

1

All-time

autoCRAN-only: this name is served only by autoCRAN, so the count is exact.

CRAN Check Status

13 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 12 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 25, 2026
NOTE 11 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
NOTE r-oldrel-macos-arm64

LazyData

'LazyData' is specified without a 'data' directory
NOTE r-oldrel-macos-x86_64

LazyData

'LazyData' is specified without a 'data' directory
NOTE r-oldrel-windows-x86_64

LazyData

'LazyData' is specified without a 'data' directory

Dependency Network

Dependencies Reverse dependencies dplyr ggplot2 magrittr tidyr mlr ipfr

Version History

4 tracked
new 1.0.2 Mar 10, 2026
updated 1.0.2 ← 1.0.1 diff Mar 31, 2020
updated 1.0.1 ← 1.0.0 diff Jan 7, 2020
new 1.0.0 Aug 20, 2019