I’m trying to recode factors. I have been successful in changing variables from 0/1 to 1/2, for example, but when I try an alphanumeric name (e.g. “no” / “yes”)
ds.recodeValues I get the following warning:
Warning message: 'ds.recodeLevels' is deprecated. Use 'ds.recodeValues' instead. See help("Deprecated")
However, it does work. And when I use
ds.recodeValues, it doesn’t. Any thoughts?