View source: R/formatting_functions.R
format_count_fraction_fixed_dp | R Documentation |
Formats a count together with fraction with special consideration when count is 0
.
format_count_fraction_fixed_dp(x, ...)
x |
( |
... |
not used. Required for |
A string in the format count (fraction %)
. If count
is 0, the format is 0
.
Other formatting functions:
extreme_format
,
format_auto()
,
format_count_fraction()
,
format_count_fraction_lt10()
,
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_fixed_dp(x = c(2, 0.6667))
format_count_fraction_fixed_dp(x = c(2, 0.5))
format_count_fraction_fixed_dp(x = c(0, 0))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.