[R] How to do a proc summary in R?

2006-03-01 Thread Emilie Berthiaume
Hi, I'm a SAS user trying to convert myself to R but I still have problems with some pretty simple commands. First I wanted to add up a number of red-tailed hawks seen per day (julian day) per year. So I tried: RTyrday - tapply(RThr,list(year,julian),sum) And then I tried the following

Re: [R] How to do a proc summary in R?

2006-03-01 Thread Kjetil Brinchmann Halvorsen
Emilie Berthiaume wrote: Hi, I'm a SAS user trying to convert myself to R but I still have problems with some pretty simple commands. First I wanted to add up a number of red-tailed hawks seen per day ( julian day) per year. So I tried: RTyrday - tapply(RThr,list(year,julian),sum)

Re: [R] How to do a proc summary in R?

2006-03-01 Thread Frank E Harrell Jr
Emilie Berthiaume wrote: Hi, I'm a SAS user trying to convert myself to R but I still have problems with some pretty simple commands. First I wanted to add up a number of red-tailed hawks seen per day (julian day) per year. So I tried: RTyrday - tapply(RThr,list(year,julian),sum)