Format numbers to 2 decimal places
scaleFUN.Rd
This function formats a numeric vector to display numbers with 2 decimal places.
Examples
x <- c(9.3475, 0.1974)
scaleFUN(x)
#> [1] "9.35" "0.20"
scaleFUN.Rd
This function formats a numeric vector to display numbers with 2 decimal places.
x <- c(9.3475, 0.1974)
scaleFUN(x)
#> [1] "9.35" "0.20"