Re: [R] ReShape/cast question - sum of value in table

2009-07-11 Thread Ista Zahn
From: Mark Knecht To: r-help Date: Fri, 10 Jul 2009 09:07:29 -0700 Subject: Re: [R] ReShape/cast question - sum of value in table On Fri, Jul 10, 2009 at 8:38 AM, Mark Knecht wrote: Hi Mark, You can simplify the code a bit: > > > >   What I need/want is that instead of displayi

Re: [R] ReShape/cast question - sum of value in table

2009-07-10 Thread Mark Knecht
On Fri, Jul 10, 2009 at 8:38 AM, Mark Knecht wrote: >   What I need/want is that instead of displaying '1' or '2' - the > number of events that fit these EnTime/ExTime values - I need to have > the sum of the 'value' column from ReShape.Y. > >   Is this possible? I'm sure it's related the the Aggr

[R] ReShape/cast question - sum of value in table

2009-07-10 Thread Mark Knecht
Hi, I've tried to capture the basics of this problem I'm having. Been working on this for a couple of days and just cannot get past it. As a test of this list software I've attached is a small text file zipped up. I hope it gets through but if it doesn't I'll post the actual text which is only 2