[R] Calculate monthly means

From: Carl Nim <cjnim4_at_yahoo.com>
Date: Tue, 15 Mar 2011 07:24:48 -0700 (PDT)


I am trying to calculate monthly means by year of phosphates and nitrates from a multi year data set. Can anybody help me out with the most effective way to do this?

My data looks like this:

Collection_Date                   Test.Name              Value
2000-01-24 17:00:00            Phosphate               0.108
2000-01-24 17:00:00            Nitrate                     0.037
2001-11-12 08:45:00            Phosphate               0.45 ...

Thanks and sorry for the blatantly "newbie" question.

      
	[[alternative HTML version deleted]]


______________________________________________

R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Tue 15 Mar 2011 - 15:43:24 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Tue 15 Mar 2011 - 18:30:21 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive