[R] monthly means of ts object

From: Hamid Hamid <hamid200356_at_gmail.com>
Date: Sat, 30 Apr 2011 15:45:46 +0430

Dear user,
I have a monthly time series data (length 144), as ts (time series) object in R. I would like to
1-extract vector of let say January data (a vector of length 12), 2-extract the monthly means, sums (a vector of length 12). Many tahnks in advance

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 Sat 30 Apr 2011 - 11:19:31 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 Sat 30 Apr 2011 - 12:20:35 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