Learn R Programming

surveydata (version 0.2.7)

fix_levels_01_spss: Fix level formatting of all question with Yes/No type answers.

Description

Fix level formatting of all question with Yes/No type answers.

Usage

fix_levels_01_spss(dat)

fix_levels_01_r(dat)

fix_levels_01(dat, origin = c("R", "SPSS"))

Arguments

dat

surveydata object

origin

Either R or SPSS

See Also

Other Functions to clean data: encToInt(), fix_common_encoding_problems(), has_dont_know(), intToEnc(), leveltest, remove_all_dont_know(), remove_dont_know()