adjust_digits {reflimR} | R Documentation |
Plausible rounding
Description
Rounds a quantitative laboratory result to a reasonable number of decimal places.
Usage
adjust_digits(x)
Arguments
x |
numeric |
Value
List containing a rounded value of x and the number of decimal places
Examples
adjust_digits(0.001234)
adjust_digits(0)
adjust_digits(-12.34)
adjust_digits(5.4321)$digits
[Package reflimR version 1.0.6 Index]