svy_freq: svy_freq() estimates proportion for observed values of a...

View source: R/svy_freq.R

svy_freqR Documentation

svy_freq() estimates proportion for observed values of a categorical variable, from a survey object.

Description

svy_freq() estimates proportion for observed values of a categorical variable, from a survey object.

Usage

svy_freq(data, variable)

Arguments

data

a survey object, or survey data frame (i.e. TSL, JKN, BRR or else)

variable

selected varible from the survey object

Value

a tibble with the estimated proportion, and their 95

Examples



data_svy %>%
svy_freq(
  data = .,
  variable = selected_var)


dacarras/r4sda documentation built on Nov. 9, 2023, 10:17 a.m.