Re: [R] Recoding Multiple Variables in a Data Frame in One Step

2011-07-25 Thread Peter Ehlers
Variables in a Data Frame in One Step On Jul 21, 2011, at 8:06 PM, Anthony Damico wrote: Hi, I can't for the life of me find how to do this in base R, but I'd be surprised if it's not possible. I'm just trying to replace multiple columns at once in a data frame. #load example d

Re: [R] Recoding Multiple Variables in a Data Frame in One Step

2011-07-25 Thread David Winsemius
Multiple Variables in a Data Frame in One Step On Jul 21, 2011, at 8:06 PM, Anthony Damico wrote: Hi, I can't for the life of me find how to do this in base R, but I'd be surprised if it's not possible. I'm just trying to replace multiple columns at once in a data frame. #lo

Re: [R] Recoding Multiple Variables in a Data Frame in One Step

2011-07-25 Thread William Dunlap
> -Original Message- > From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On > Behalf Of William Dunlap > Sent: Monday, July 25, 2011 3:49 PM > To: David Winsemius; Anthony Damico > Cc: r-help@r-project.org > Subject: Re: [R] Recoding Multipl

Re: [R] Recoding Multiple Variables in a Data Frame in One Step

2011-07-25 Thread William Dunlap
> -Original Message- > From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On > Behalf Of David Winsemius > Sent: Monday, July 25, 2011 3:39 PM > To: Anthony Damico > Cc: r-help@r-project.org > Subject: Re: [R] Recoding Multiple Variables in a D

Re: [R] Recoding Multiple Variables in a Data Frame in One Step

2011-07-25 Thread David Winsemius
On Jul 21, 2011, at 8:06 PM, Anthony Damico wrote: Hi, I can't for the life of me find how to do this in base R, but I'd be surprised if it's not possible. I'm just trying to replace multiple columns at once in a data frame. #load example data data(api) #this displays the three columns and

[R] Recoding Multiple Variables in a Data Frame in One Step

2011-07-21 Thread Anthony Damico
Hi, I can't for the life of me find how to do this in base R, but I'd be surprised if it's not possible. I'm just trying to replace multiple columns at once in a data frame. #load example data data(api) #this displays the three columns and eight rows i'd like to replace apiclus1[ apiclus1$meals