View source: R/formatting_functions.R
format_count_fraction_lt10 | R Documentation |
Formats a count together with fraction with special consideration when count is less than 10.
format_count_fraction_lt10(x, ...)
x |
( |
... |
not used. Required for |
A string in the format count (fraction %)
. If count
is less than 10, only count
is printed.
Other formatting functions:
extreme_format
,
format_auto()
,
format_count_fraction()
,
format_count_fraction_fixed_dp()
,
format_extreme_values()
,
format_extreme_values_ci()
,
format_fraction()
,
format_fraction_fixed_dp()
,
format_fraction_threshold()
,
format_sigfig()
,
format_xx()
,
formatting_functions
format_count_fraction_lt10(x = c(275, 0.9673))
format_count_fraction_lt10(x = c(2, 0.6667))
format_count_fraction_lt10(x = c(9, 1))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.