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.
Version: | 1.0.2 |
Depends: | R (≥ 3.2.0) |
Imports: | dplyr (≥ 0.7.3), ggplot2 (≥ 2.2.1), magrittr (≥ 1.5), tidyr (≥ 0.5.1), mlr (≥ 2.11) |
Suggests: | knitr, rmarkdown, testthat (≥ 2.1.0), covr |
Published: | 2020-04-01 |
DOI: | 10.32614/CRAN.package.ipfr |
Author: | Kyle Ward [aut, cre, cph], Greg Macfarlane [ctb] |
Maintainer: | Kyle Ward <kyleward084 at gmail.com> |
BugReports: | https://github.com/dkyleward/ipfr/issues |
License: | Apache License (== 2.0) |
URL: | https://github.com/dkyleward/ipfr |
NeedsCompilation: | no |
Materials: | README NEWS |
CRAN checks: | ipfr results |
Reference manual: | ipfr.pdf |
Vignettes: |
common_ipf_problems using_ipfr |
Package source: | ipfr_1.0.2.tar.gz |
Windows binaries: | r-devel: ipfr_1.0.2.zip, r-release: ipfr_1.0.2.zip, r-oldrel: ipfr_1.0.2.zip |
macOS binaries: | r-release (arm64): ipfr_1.0.2.tgz, r-oldrel (arm64): ipfr_1.0.2.tgz, r-release (x86_64): ipfr_1.0.2.tgz, r-oldrel (x86_64): ipfr_1.0.2.tgz |
Old sources: | ipfr archive |
Please use the canonical form https://CRAN.R-project.org/package=ipfr to link to this page.