Learn R Programming

WIPF (version 0.1.0-3)

Weighted Iterative Proportional Fitting

Description

Implementation of the weighted iterative proportional fitting (WIPF) procedure for updating/adjusting a N-dimensional array given a weight structure and some target marginals. Acknowledgements: The author wish to thank Conselleria de Educación, Cultura, Universidades y Empleo (grant CIAICO/2023/031), Ministerio de Ciencia, Innovación y Universidades (grant PID2021-128228NB-I00) and Fundación Mapfre (grant 'Modelización espacial e intra-anual de la mortalidad en España. Una herramienta automática para el cálculo de productos de vida') for supporting this research.

Copy Link

Version

Install

install.packages('WIPF')

Monthly Downloads

272

Version

0.1.0-3

License

GPL (>= 2)

Maintainer

Jose Pavia

Last Published

January 8th, 2026

Functions in WIPF (0.1.0-3)

WIPF

Weighted Iterative Proportional Fitting (WIPF) in N (greater than 1) dimensions
WIPF1

Weighted Iterative Proportional Fitting (WIPF) in one dimension
WIPF2

Weighted Iterative Proportional Fitting (WIPF) in two dimensions
df2array

Long-format data frame to array
array2df

Array to long-format data frame
WIPF3

Weighted Iterative Proportional Fitting (WIPF) in three dimensions