svy_freq | R Documentation |
svy_freq() estimates proportion for observed values of a categorical variable, from a survey object.
svy_freq(data, variable)
data |
a survey object, or survey data frame (i.e. TSL, JKN, BRR or else) |
variable |
selected varible from the survey object |
a tibble with the estimated proportion, and their 95
data_svy %>%
svy_freq(
data = .,
variable = selected_var)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.