Recode A Binary Variable in Multiple Choice

recode_mentioned(var)

Arguments

var

A binary variale with multiple choice options

See also

Other recode functions: recode_age_education(), recode_gender()

Examples

#not case sensitive recode_binary ( var = c("Mentioned", "Not mentioned", "mentioned", "Refusal", "DK") )
#> Error in recode_binary(var = c("Mentioned", "Not mentioned", "mentioned", "Refusal", "DK")): could not find function "recode_binary"