round_any.Rd
rounds a numeric value to any arbitrary degree of precision. defaults to nearest whole integer
round_any(x, accuracy = 1)
x | a numeric vector |
---|---|
accuracy | a numeric value specifying the base for rounding |
a vector of the same length as x
rounded to the defined
accuracy
#> Error in round_any(c(1, 1.25, 1.5, 1.75, 2), accuracy = 0.5): could not find function "round_any"