round_sum: Rounds an object by ensuring its totals remains equal before...

Description Usage Arguments Value

Description

Freely inspired by https://stackoverflow.com/questions/32544646/round-vector-of-numerics-to-integer-while-preserving-their-sum

Usage

1

Arguments

x

the object to round

...

ignored

Value

the rounded version of the object


samthiriot/gosp.dpp documentation built on May 18, 2019, 3:44 p.m.