Skip to content
Prev 13782 / 398502 Next

extracting columns from a ts series

Antonio wrote:
See ?window

For Dec columns use 
 window(upwell, start=c(1984, 12), frequency=1)
 
Don't know an exact translation for "upwelling" in german, but to sum
over the specified 4 months, you can use:
 sum(window(upwell, start=c(1984, 12), end=c(1985,3)))

Uwe Ligges
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._