Re: [R] applying a function to a pair of components for each row of a list

2009-06-27 Thread Kavitha Venkatesan
Milton, Thanks, the answer was in fact as simple as you pointed out. I was thinking more complicated than needed! Kavitha On Sun, Jun 28, 2009 at 1:11 AM, milton ruser wrote: > Hi Kavitha, > > I must confess you that I not understood well what you are looking for. > But.. > > mylist<-list(x=1:2

Re: [R] applying a function to a pair of components for each row of a list

2009-06-27 Thread milton ruser
Hi Kavitha, I must confess you that I not understood well what you are looking for. But.. mylist<-list(x=1:25, y=runif(n=25)) plot(mylist, type="n") points(mylist, type="p", col=mylist$x) Hth, miltinho On Sun, Jun 28, 2009 at 1:03 AM, Kavitha Venkatesan < kavitha.venkate...@gmail.com> wrote: