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

2009-09-11 Thread Jason Baucom
: 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. checkLimit -function(x) x3 stuff$row6-checkLimit(stuff

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

2009-09-11 Thread Jason Baucom
: 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. Thanks for the insight! row7 is what I need

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

2009-09-11 Thread David Winsemius
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:58 AM, Jason Baucom wrote: I got this to work. Thanks

[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.

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 jason.bau...@ateb.comwrote: 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

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 jason.bau...@ateb.com wrote: I'm running into a problem I can't seem

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

2009-08-27 Thread Jason Baucom
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] generating multiple sequences

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

2009-08-27 Thread David Winsemius
: 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, row2, FUN = seq)) I don't understand the fourth