Re: [R] apply union function vectorially

2010-09-25 Thread statquant2
Yes Thank you very much, NICE ONE. Do you have some interesting references about R (I do know some common books but may be you have some nice hidden books I have never heard about... ) -- View this message in context: http://r.789695.n4.nabble.com/apply-union-function-vectorially-tp2550162p2

Re: [R] apply union function vectorially

2010-09-23 Thread Dennis Murphy
Hi: Look at the examples in ?Reduce HTH, Dennis On Thu, Sep 23, 2010 at 12:31 AM, statquant2 wrote: > > Thank you very much, this solve the problem, but more generally is there a > function that allow to apply a function to a list of object, applying > recursively the function to each answer..

Re: [R] apply union function vectorially

2010-09-23 Thread statquant2
Thank you very much, this solve the problem, but more generally is there a function that allow to apply a function to a list of object, applying recursively the function to each answer... mathematically for a 2 argument function f(u,v) you would like a function g doing g(u1,u2,u3,u4,u5) =f(f(f(f

Re: [R] apply union function vectorially

2010-09-22 Thread Peng, C
unique(unlist(list.array)) -- View this message in context: http://r.789695.n4.nabble.com/apply-union-function-vectorially-tp2550162p2550193.html Sent from the R help mailing list archive at Nabble.com. __ R-help@r-project.org mailing list https://sta