count_vars_plot_facet | R Documentation |
A Helper that count variable in each group of var_facet
do extract percentage and construct labels
column
ready to be plotted.
count_vars_plot_facet(
x,
var,
var_facet,
label_number = c("percent", "count", "both")
)
x |
A data.frame |
var |
(Quoted or Unquoted) Variable to count |
var_facet |
(Quoted or Unquoted) Variable intended to get facet wrapped (grouping variable) |
label_number |
Construction of
|
A data.frame
count_vars_plot_facet(mtcars, cyl, gear)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.