Skip to content
Prev 336433 / 398513 Next

Conditional recoding for purpose of imputing

Hello Ana,

The syntax is:
y <- ifelse(x==1, 'YES', 'NO')

Hope this helps,
Pascal
On 10 February 2014 13:03, Ana Genkova <ani.genkova at gmail.com> wrote: