This function returns a pretty range of values for a given a vector of type
numeric.
prettyRange(x)
| x | A vector of numerical values. |
|---|
A vector of two values specifying the pretty the range of values.
This function intends to generate range with round values.
#> [1] 0.04373911 0.82295308prettyRange(vec)#> [1] 0.00 0.85#> [1] 3.845 3.885