Adaptive rounding for tables

adapt_round(x)

Arguments

x

a numeric vector

Value

a character vector comprising rounded values.

Examples

adapt_round(c(0.12, 10.12, 100.12))
#> [1] "0.12" "10.1" "100"