format informationR/format_value.R
format_value.RdConverts a (possibly compound) value into a string using the format information
(ANY)
the value to be formatted.
(string or function)
the format label (string) or formatter function to
apply to x.
(string)
output type.
(character)
character vector to display when the values of x are missing.
If only one string is provided, it is applied for all missing values. Defaults to "NA".
("iec" or "sas")
the type of rounding to perform. iec,
the default, peforms rounding compliant with IEC 60559 (see details), while
sas performs nearest-value rounding consistent with rounding within SAS.
Formatted text representing the cell x.
A length-zero value for na_str will be interpreted as "NA".