View source: R/prop_list.R View source: R/prop_by_list.R
prop_list | R Documentation |
Calculates proportions and its variance of a list of variables or conditions from ELSOC, considering complex survey design
prop_list(.data, ..., by = NULL, vartype = "se", na.rm = FALSE)
.data |
Data frame or tbl_svy survey object object |
... |
Variables or logical vectors to calculate proportions |
by |
Vector of variables to group estimates |
vartype |
Report variability as one or more of: standard error ('se', default), confidence interval ('ci'), variance ('var') or coefficient of variation ('cv'). vartype = NULL for no variability |
na.rm |
A logical value to indicate whether missing values of x should be dropped |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.