| getDec {plotfunctions} | R Documentation |
Return the number of decimal places.
Description
Return the number of decimal places.
Usage
getDec(x)
Arguments
x |
A numeric vector. |
Value
Number of decimals
Author(s)
Based on http://stackoverflow.com/questions/5173692/how-to-return-number-of-decimal-places-in-r, but improved
See Also
Other Utility functions:
findAbsMin(),
find_n_neighbors(),
firstLetterCap(),
getArrowPos(),
getRange(),
getRatioCoords(),
get_palette(),
group_sort(),
inch2coords(),
isColor(),
list2str(),
move_n_point(),
orderBoxplot(),
se(),
sortGroups()
Examples
getDec(c(10,10.432, 11.01, .000001))
[Package plotfunctions version 1.4 Index]