View source: R/barplot_by_groups.R
Barplot grouped binary columns
1 | barplot_by_group(design, list_of_variables, aggregation_level, binary = TRUE)
|
design |
Design object from survey or srvyr package. |
list_of_variables |
Vector containing column names to analyze. |
aggregation_level |
Column name to aggregate or dissagregate to OR vector of column names to dissagregate to. |
binary |
Logical (default=TRUE) if the columns are binary or numeric. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.