Re: [R] pairwise difference operator

2004-08-02 Thread Gabor Grothendieck
Gabor Grothendieck myway.com> writes: : : Adaikalavan Ramasamy cancer.org.uk> writes: : : : : : Thank you to Marc Schwartz and Gabor Grothendieck for their responses. : : Both solutions are useful. : : : : It would be nice to generalise this problem to situations where other : : operations b

Re: [R] pairwise difference operator

2004-08-02 Thread Adaikalavan Ramasamy
Gabor, thank you. This is very helpful. On Mon, 2004-08-02 at 18:10, Gabor Grothendieck wrote: > Adaikalavan Ramasamy cancer.org.uk> writes: > > : > : Thank you to Marc Schwartz and Gabor Grothendieck for their responses. > : Both solutions are useful. > : > : It would be nice to generalise th

Re: [R] pairwise difference operator

2004-08-02 Thread Gabor Grothendieck
Adaikalavan Ramasamy cancer.org.uk> writes: : : Thank you to Marc Schwartz and Gabor Grothendieck for their responses. : Both solutions are useful. : : It would be nice to generalise this problem to situations where other : operations besides difference. Maybe a new member of apply family - : p

Re: [R] pairwise difference operator

2004-08-02 Thread Adaikalavan Ramasamy
Thank you to Marc Schwartz and Gabor Grothendieck for their responses. Both solutions are useful. It would be nice to generalise this problem to situations where other operations besides difference. Maybe a new member of apply family - pwapply for pairwise apply ? Of course the output would be d

Re: [R] pairwise difference operator

2004-07-31 Thread Marc Schwartz
On Fri, 2004-07-30 at 20:28, Marc Schwartz wrote: > On Fri, 2004-07-30 at 18:30, Adaikalavan Ramasamy wrote: > > There was a BioConductor thread today where the poster wanted to find > > pairwise difference between columns of a matrix. I suggested the slow > > solution below, hoping that someone mi

Re: [R] pairwise difference operator

2004-07-30 Thread Gabor Grothendieck
Adaikalavan Ramasamy cancer.org.uk> writes: : : There was a BioConductor thread today where the poster wanted to find : pairwise difference between columns of a matrix. I suggested the slow : solution below, hoping that someone might suggest a faster and/or more : elegant solution, but no other

Re: [R] pairwise difference operator

2004-07-30 Thread Marc Schwartz
On Fri, 2004-07-30 at 18:30, Adaikalavan Ramasamy wrote: > There was a BioConductor thread today where the poster wanted to find > pairwise difference between columns of a matrix. I suggested the slow > solution below, hoping that someone might suggest a faster and/or more > elegant solution, but n

[R] pairwise difference operator

2004-07-30 Thread Adaikalavan Ramasamy
There was a BioConductor thread today where the poster wanted to find pairwise difference between columns of a matrix. I suggested the slow solution below, hoping that someone might suggest a faster and/or more elegant solution, but no other response. I tried unsuccessfully with the apply() family