The function rounds values preserving total sums
round_preserve_sum(x, digits = 0)
x | numeric vector of values to be rounded |
---|---|
digits | integer indicating the number of decimal places. See |
Returns a numeric vector.
Other waffle:
waffle_chart()
,
waffleize()