Converts a (possibly compound) value into a string using the format information
      Source: R/format_value.R
      format_value.RdConverts a (possibly compound) value into a string using the format information
Arguments
- x
- ( - ANY)
 the value to be formatted.
- format
- ( - stringor- function)
 the format label (string) or formatter function to apply to- x.
- output
- ( - string)
 output type.
- na_str
- ( - character)
 character vector to display when the values of- xare missing. If only one string is provided, it is applied for all missing values. Defaults to- "NA".
- round_type
- ( - "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.