Re: [R] numbering observations: help please!

2012-11-14 Thread arun
:50 PM Subject: [R] numbering observations: help please! Dear Friends, I have the very simple problem of needing to number observations in a data frame. After scratching the rest of my hair off my head without inspiration, I'm using a silly loop. I'm sure that there is a much more elega

Re: [R] numbering observations: help please!

2012-11-13 Thread Jeff Newmiller
On Tue, 13 Nov 2012, Paul Artes wrote: Dear Friends, I have the very simple problem of needing to number observations in a data frame. After scratching the rest of my hair off my head without inspiration, I'm using a silly loop. I'm sure that there is a much more elegant and faster solution - c

Re: [R] numbering observations: help please!

2012-11-13 Thread Rolf Turner
On 14/11/12 14:50, Paul Artes wrote: Dear Friends, I have the very simple problem of needing to number observations in a data frame. After scratching the rest of my hair off my head without inspiration, I'm using a silly loop. I'm sure that there is a much more elegant and faster solution - can

[R] numbering observations: help please!

2012-11-13 Thread Paul Artes
Dear Friends, I have the very simple problem of needing to number observations in a data frame. After scratching the rest of my hair off my head without inspiration, I'm using a silly loop. I'm sure that there is a much more elegant and faster solution - can anyone help? Here is an example: my.