fmt_count | R Documentation |
These functions will give proportions for different variables inline.
fmt_count(x, ...)
x |
a data frame |
... |
an expression or series of expressions to pass to |
a one-element character vector of the format "n (%)"
fmt_count(mtcars, cyl > 3, hp < 100) fmt_count(iris, Species == "virginica")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.