View source: R/formatting_functions.R
| format_extreme_values | R Documentation |
Create a formatting function for a single extreme value.
format_extreme_values(digits = 2L)
digits |
( |
An rtables formatting function that uses threshold digits to return a formatted extreme value.
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
format_fun <- format_extreme_values(2L)
format_fun(x = 0.127)
format_fun(x = Inf)
format_fun(x = 0)
format_fun(x = 0.009)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.