Re: [R] Newbie-ish question on iteratively applying function to dataframe

2011-03-16 Thread Claus O'Rourke
Brilliant - that was really useful! On Tue, Mar 15, 2011 at 3:46 PM, Ista Zahn iz...@psych.rochester.edu wrote: Hi Claus, On Tue, Mar 15, 2011 at 9:33 AM, Claus O'Rourke claus.orou...@gmail.com wrote: Hi, I am trying to recursively apply a function to a selection of columns in a

[R] Newbie-ish question on iteratively applying function to dataframe

2011-03-15 Thread Claus O'Rourke
Hi, I am trying to recursively apply a function to a selection of columns in a dataframe. I've had a look around and from what I have read, I should be using some version of the apply function, but I'm really having some headaches with it. Let me be more specific with an example. Say I have a

Re: [R] Newbie-ish question on iteratively applying function to dataframe

2011-03-15 Thread Ista Zahn
Hi Claus, On Tue, Mar 15, 2011 at 9:33 AM, Claus O'Rourke claus.orou...@gmail.com wrote: Hi, I am trying to recursively apply a function to a selection of columns in a dataframe. I've had a look around and from what I have read, I should be using some version of the apply function, but I'm