Re: [R] generating multiple sequences in subsets of data

2009-09-11 Thread David Winsemius
fine. -Original Message- From: David Winsemius [mailto:dwinsem...@comcast.net] Sent: Thursday, August 27, 2009 12:48 PM To: Jason Baucom Cc: Henrique Dallazuanna; r-help@r-project.org; Steven Few Subject: Re: [R] generating multiple sequences in subsets of data On Aug 27, 2009, at 11:5

Re: [R] generating multiple sequences in subsets of data

2009-09-11 Thread Jason Baucom
ius [mailto:dwinsem...@comcast.net] Sent: Thursday, August 27, 2009 12:48 PM To: Jason Baucom Cc: Henrique Dallazuanna; r-help@r-project.org; Steven Few Subject: Re: [R] generating multiple sequences in subsets of data On Aug 27, 2009, at 11:58 AM, Jason Baucom wrote: > I got this to work. T

Re: [R] generating multiple sequences in subsets of data

2009-09-11 Thread Jason Baucom
7, 2009 12:48 PM To: Jason Baucom Cc: Henrique Dallazuanna; r-help@r-project.org; Steven Few Subject: Re: [R] generating multiple sequences in subsets of data On Aug 27, 2009, at 11:58 AM, Jason Baucom wrote: > I got this to work. Thanks for the insight! row7 is what I need. > > >

Re: [R] generating multiple sequences in subsets of data

2009-08-27 Thread David Winsemius
414 FALSE2 Jason From: Henrique Dallazuanna [mailto:www...@gmail.com] Sent: Thursday, August 27, 2009 11:02 AM To: Jason Baucom Cc: r-help@r-project.org; Steven Few Subject: Re: [R] generating multiple sequences in subsets of data Try this; stuff$row3 <- with(stuff, ave(row1, ro

Re: [R] generating multiple sequences in subsets of data

2009-08-27 Thread Jason Baucom
9 32313 FALSE1 1042414 FALSE2 Jason From: Henrique Dallazuanna [mailto:www...@gmail.com] Sent: Thursday, August 27, 2009 11:02 AM To: Jason Baucom Cc: r-help@r-project.org; Steven Few Subject: Re: [R] gener

Re: [R] generating multiple sequences in subsets of data

2009-08-27 Thread Jason Baucom
Few Subject: Re: [R] generating multiple sequences in subsets of data Try this; stuff$row3 <- with(stuff, ave(row1, row2, FUN = seq)) I don't understand the fourth column On Thu, Aug 27, 2009 at 11:55 AM, Jason Baucom wrote: I'm running into a problem I can't seem to f

Re: [R] generating multiple sequences in subsets of data

2009-08-27 Thread Henrique Dallazuanna
Try this; stuff$row3 <- with(stuff, ave(row1, row2, FUN = seq)) I don't understand the fourth column On Thu, Aug 27, 2009 at 11:55 AM, Jason Baucom wrote: > I'm running into a problem I can't seem to find a solution for. I'm > attempting to add sequences into an existing data set based on subse

[R] generating multiple sequences in subsets of data

2009-08-27 Thread Jason Baucom
I'm running into a problem I can't seem to find a solution for. I'm attempting to add sequences into an existing data set based on subsets of the data. I've done this using a for loop with a small subset of data, but attempting the same process using real data (200k rows) is taking way too long.