Re: [R] Applying a function to a dataframe

2008-12-16 Thread David Winsemius
On Dec 16, 2008, at 6:00 PM, glenn roberts wrote: Another Newbie Question sorry: I am trying to apply a function a dataframe and could use some help: Assuming, dim(df) = (10,2) say, I would like to apply a function that looks at each row in turn and returns a list (dim =(10,1)) using the

[R] Applying a function to a dataframe

2008-12-16 Thread glenn roberts
Another Newbie Question sorry: I am trying to apply a function a dataframe and could use some help: Assuming, dim(df) = (10,2) say, I would like to apply a function that looks at each row in turn and returns a list (dim =(10,1)) using the columns as inputs to the function, but with no INDEX stuf