title: How to change numeric variables to YES, NO if they are > or < 0.5?
body: <p>I am using R Studio and I have variables that are somewhere between 0 and 1.5 and I want to change them to read either YES, if they are above 0.5, and NO, if they are below 0.5. Would I use ifelse() to do this or is there a better way?</p>