[R] monthly means of ts object

Hamid Hamid hamid200356 at gmail.com
Sat Apr 30 13:15:46 CEST 2011


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
Yours,
Hamid



More information about the R-help mailing list