Re: [R] R-help Digest, Vol 91, Issue 21

2010-09-21 Thread Kurt_Helf
All Is there a script in R equivalent to the if then transforms one can perform in Systat? For example, I want to create a Treatment column coded either 1 or 2 for twelve field sites in a large data set. Ideally, I'd be able to tell R to code sites a-f as 1 and sites g-l as 2. Cheers Kurt

Re: [R] R-help Digest, Vol 91, Issue 21

2010-09-21 Thread David Winsemius
On Sep 21, 2010, at 3:47 PM, kurt_h...@nps.gov wrote: All Is there a script in R equivalent to the if then transforms one can perform in Systat? For example, I want to create a Treatment column coded either 1 or 2 for twelve field sites in a large data set. Ideally, I'd be able to

Re: [R] R-help Digest, Vol 91, Issue 21

2010-09-21 Thread Peter Dalgaard
On 09/21/2010 09:47 PM, kurt_h...@nps.gov wrote: All Is there a script in R equivalent to the if then transforms one can perform in Systat? For example, I want to create a Treatment column coded either 1 or 2 for twelve field sites in a large data set. Ideally, I'd be able to tell R to

Re: [R] R-help Digest, Vol 91, Issue 21

2010-09-21 Thread Marc Schwartz
On Sep 21, 2010, at 2:47 PM, kurt_h...@nps.gov wrote: All Is there a script in R equivalent to the if then transforms one can perform in Systat? For example, I want to create a Treatment column coded either 1 or 2 for twelve field sites in a large data set. Ideally, I'd be able to tell