Round a value to a defined number of significant digits printing out trailing zeros, if applicable.
signifString(x, ...)# S3 method for data.frame
signifString(x, ...)
# S3 method for default
signifString(x, digits = 6, sci_range = 6, sci_sep = "e", si_range, ...)
The number to round
Arguments passed to methods.
integer indicating the number of significant digits
integer (or Inf) indicating when to switch to
scientific notation instead of floating point. Zero indicates always use
scientific; Inf indicates to never use scientific notation;
otherwise, scientific notation is used when abs(log10(x)) > si_range.
The separator to use for scientific notation strings (typically this will be either "e" or "x10^" for computer- or human-readable output).
Deprecated, please use sci_range
A string with the value
Values that are not standard numbers like Inf, NA, and
NaN are returned as "Inf", "NA", and NaN.