format_extreme_values {tern} | R Documentation |
Format a single extreme value
Description
Create a formatting function for a single extreme value.
Usage
format_extreme_values(digits = 2L)
Arguments
digits |
( |
Value
An rtables
formatting function that uses threshold digits
to return a formatted extreme value.
See Also
Other formatting functions:
extreme_format
,
format_auto()
,
format_count_fraction()
,
format_count_fraction_fixed_dp()
,
format_count_fraction_lt10()
,
format_extreme_values_ci()
,
format_fraction()
,
format_fraction_fixed_dp()
,
format_fraction_threshold()
,
format_sigfig()
,
format_xx()
,
formatting_functions
Examples
format_fun <- format_extreme_values(2L)
format_fun(x = 0.127)
format_fun(x = Inf)
format_fun(x = 0)
format_fun(x = 0.009)
[Package tern version 0.9.5 Index]