Re: [R] Creating New Variable Using Ifelse

2017-08-10 Thread Courtney Benjamin
ct: RE: Creating New Variable Using Ifelse Hi see in line > -Original Message- > From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of Courtney > Benjamin > Sent: Thursday, August 10, 2017 5:55 AM > To: r-help@r-project.org > Subject: [R] Creating New Variable

Re: [R] Creating New Variable Using Ifelse

2017-08-10 Thread PIKAL Petr
Hi see in line > -Original Message- > From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of Courtney > Benjamin > Sent: Thursday, August 10, 2017 5:55 AM > To: r-help@r-project.org > Subject: [R] Creating New Variable Using Ifelse > > Hello R Help Li

Re: [R] Creating New Variable Using Ifelse

2017-08-09 Thread Ismail SEZEN
> On 10 Aug 2017, at 06:54, Courtney Benjamin wrote: > > Hello R Help List, > > I am an R novice and trying to use the ifelse function to create a new binary > variable based off of the responses of two other binary variables; NAs are > involved. I pulled it off almost

[R] Creating New Variable Using Ifelse

2017-08-09 Thread Courtney Benjamin
Hello R Help List, I am an R novice and trying to use the ifelse function to create a new binary variable based off of the responses of two other binary variables; NAs are involved. I pulled it off almost successfully, but when I checked the counts of my new variable for accuracy, I found