I have a binary variable in a dataframe
, I want to assign the label
"no" to the value 0 and "yes" to the value 1 without the vector becoming categorical (if this occurs, I can not use the function svymean()
).
Does anyone know if this is possible?