Skip to contents

Rounds a vector preserving the rounded sum.

Usage

round_vector(x, digits = 0)

Arguments

x

A vector.

digits

Number of decimal places to be rounded to.