Description Usage Arguments Value
View source: R/mean_proportion_table.R
Analyze and aggregate weighted categorical data into clean tables
1 2 3 4 5 6 7 8 9 | mean_proportion_table(
design,
list_of_variables,
aggregation_level = NULL,
round_to = 2,
return_confidence = FALSE,
na_replace = FALSE,
questionnaire = NULL
)
|
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. |
round_to |
Decimal place to round to. |
return_confidence |
Logical value specifying whether to return confidence interval (default = FALSE). |
na_replace |
Logical value (default = FALSE) of whether to replace NA with 0 (numerical) or "filtered" (categorical) |
questionnaire |
Questionnaire generated from koboquest. If NULL (default) function will attempt to detect select multiple questions automatically. If you have made new indicators which use periods in there names you must remove them from the list_of_variables if you do not supply the koboquest generated questionnaire. |
Analyzed table of variables.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.