Description Usage Arguments Value Author(s) Examples
Given a numeric range, automatically define a number that can serve as the
major unit to beautify the axes scale.
You are recommended to use getOptScaleRange
beforehand to get
the optimized range of the scale.
1 2 3 |
... |
you can either pass |
a numeric scalar
Yiying Wang, wangy@aetna.com
1 2 3 4 5 6 7 8 | ## Not run:
# Both of the following expressions are OK
optimizeScaleUnit(0, 30) # 10
## or
vec <- c(0, 30)
optimizeScaleUnit(vec) # 10
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.