Skip to contents

`round_up_nice()` rounds a numeric value

Usage

round_up_nice(x, nice = c(1, 2, 4, 5, 6, 8, 10))

Arguments

x

numeric, value to be rounded.

nice

numeric vector with nice base values from 1 to 10

Value

rounded value of x.