prop_list: prop_list

View source: R/prop_list.R View source: R/prop_by_list.R

prop_listR Documentation

prop_list

Description

Calculates proportions and its variance of a list of variables or conditions from ELSOC, considering complex survey design

Usage

prop_list(.data, ..., by = NULL, vartype = "se", na.rm = FALSE)

Arguments

.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


edgardo-cerda/elsoc documentation built on April 14, 2022, 5:36 p.m.