Re: [R] Translating recoding syntax from SPSS to R

2013-09-22 Thread Mosi Ifatunji
t; > > > - Original Message - > From: Mosi Ifatunji > To: "r-help@r-project.org" > Cc: > Sent: Saturday, September 21, 2013 6:03 PM > Subject: [R] Translating recoding syntax from SPSS to R > > Colleagues, > > I am in the process of learni

Re: [R] Translating recoding syntax from SPSS to R

2013-09-22 Thread Joshua Wiley
gt; #13 20 > #21 01 > #32 10 > #43 20 > #51 20 > #61 10 > A.K. > > > > - Original Message - > From: Mosi Ifatunji > To: "r-help@r-project.org"

Re: [R] Translating recoding syntax from SPSS to R

2013-09-21 Thread arun
  3  2    0 #5    1  2    0 #6    1  1    0 A.K. - Original Message - From: Mosi Ifatunji To: "r-help@r-project.org" Cc: Sent: Saturday, September 21, 2013 6:03 PM Subject: [R] Translating recoding syntax from SPSS to R Colleagues, I am in the p

[R] Translating recoding syntax from SPSS to R

2013-09-21 Thread Mosi Ifatunji
Colleagues, I am in the process of learning R. I've been able to import my dataset (from Stata) and do some simple coding. I have now come to coding situation that requires some assistance. This is some code in SPSS that I would like to be able to execute in R: if (race eq 1 and usborn=0) conf