View source: R/C_hss_recode_na.R
C_hss_recode_na | R Documentation |
In the exported HSS datafile values are coded as 0 even when that particular question was skipped for a respondent. In those cases NA values are expected. This function recodes 0 values to NA where appropriate. Note that currently the variables which are recoded are hard-coded into the function
C_hss_recode_na(dat)
dat |
The dataframe with HSS survey data for which you want to recode |
Returns a dataframe with recoded values
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.