| format_categorical_stat | R Documentation |
Converts frequency counts into formatted display strings following standard conventions (n, n (%), % only) with locale-aware decimal marks.
format_categorical_stat(n, total, stat_type, marks)
n |
Integer count for the category. |
total |
Integer total count for percentage calculation. |
stat_type |
Character string: |
marks |
List with |
Character string with the formatted statistic.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.