search for: means07

Displaying 1 result from an estimated 1 matches for "means07".

Did you mean: means
2011 Mar 16
1
Aggregating dataset to means/day
...6 9.35 2.5 This is what I want: Year Day herring.density 2007 47 1.57 2007 66 2.25 I would also might like to extract means between time 10-16 (h) so that Year Day herring.density 2007 47 1.25 Any idea on how to do this? I have tried means07<-tapply(herring.density,Day,mean) Then I get means for every day, but means07 won't fit when plotted against days, because it is now shorter than Day. I also get a lot of NA values where there are only 1 observation that day... Help would be much appreciated! Cheers, Ole Andreas [[alte...