[R] Constructing a list using a function...
onuruncu at gmail.com
Mon Jul 2 08:04:49 CEST 2012
Small typo in dataframe representation. It should have been the below
On Mon, Jul 2, 2012 at 7:02 AM, Onur Uncu <onuruncu at gmail.com> wrote:
> Hi All
> I have a dataframe:
> And I have a function myfun:
> myfun<-function(x,y) x+y
> I would like to write a function myfun2 that takes myframe and myfun
> as parameters and returns a list as below:
>  4
>  6
> Could you please help me with this? Doesn't seem like the "apply"
> family of functions were intended for this case.
More information about the R-help