Re: [R] assigning letter to a column

2014-10-17 Thread Monaly Mistry
loops, no ifelse's. Anything below 3 will > > - > David L Carlson > Department of Anthropology > Texas A&M University > College Station, TX 77840-4352 > > > > -Original Message- > From: r-help-boun...@r-project.org [mailto:r-help-b

Re: [R] assigning letter to a column

2014-10-17 Thread David L Carlson
ct.org] On Behalf Of David L Carlson Sent: Friday, October 17, 2014 9:15 AM To: Monaly Mistry; r-help@r-project.org Subject: Re: [R] assigning letter to a column I think it is doing exactly what you have told it to do, but that is probably not what you want it to do. First, you do not need a loop

Re: [R] assigning letter to a column

2014-10-17 Thread David L Carlson
Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of Monaly Mistry Sent: Friday, October 17, 2014 8:27 AM To: r-help@r-project.org Subject: [R] assigning letter to a column Hi, I'm having trouble with assigning a letter to a column b

[R] assigning letter to a column

2014-10-17 Thread Monaly Mistry
Hi, I'm having trouble with assigning a letter to a column based on the value of another column. Since I have separate data files I've saved then into one folder and I'm reading them in separately into the function. The code is below. #F= fast; S= slow; I1= Intermediate score 1; I2=Intermediate