Proportional Allocation with Sum Consistency

Provides robust functions for proportional allocation of numeric values. It guarantees sum consistency after rounding or integer truncation using one of two adjustment methods: the largest remainder method or max-value adjustment. Handles edge cases like NA weights and vector total values seamlessly.


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("proratar")

0.1.0 by Shunsuke Homma, 4 months ago


Browse source code at https://github.com/cran/proratar


Authors: Shunsuke Homma [aut, cre]


Documentation:   PDF Manual  


MIT + file LICENSE license


Suggests testthat


See at CRAN