Round values

round_any(x, accuracy, f = round)

Arguments

x

Numeric value to round.

accuracy

The number of digits to round to.

f

R function to apply. Default is round().