share_dk: Calculate share of "Don't know"-answers for survey item

View source: R/share_dk.R

share_dkR Documentation

Calculate share of "Don't know"-answers for survey item

Description

Calculate share of "Don't know"-answers for survey item

Usage

share_dk(data, item)

Arguments

data

a data.frame object

item

relevant survey item (i.e. w5_q17)

Value

relative frequency of "Don't know"-answers, if applicable to item


bonschorno/sep documentation built on April 1, 2022, 11:37 a.m.