round_near {EQUALSTATS} | R Documentation |
Rounds a Variable to the Nearest Pretty Number
Description
For some graphs, Base pretty
function may not provide the correct rounding. This is a different algorithm suitable for the graphs produced in 'EQUAL-STATS' software.
Usage
round_near(x)
Arguments
x |
A numeric variable. |
Value
A "pretty number" suitable for use in graphs.
Note
This is part of a suite of functions required to allow 'EQUAL-STATS' program to run. This is unlikely to be used as a stand alone function.
Author(s)
Kurinchi Gurusamy
References
https://sites.google.com/view/equal-group/home
See Also
Examples
x <- 7
round_near(x)
x <- 754
round_near(x)
[Package EQUALSTATS version 0.4.0 Index]