View source: R/summary_utility_functions.R
| n_pcnt | R Documentation |
Returns count and percent for a vector relative to a denominator.
n_pcnt(x, denom)
x |
Vector of values. |
denom |
Denominator for percent calculation. |
Character string formatted as \"n (percent%)\".
n_pcnt(1:30, 100)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.