[R] converting a ts object to an xts object: please ignore this message

2010-04-11 Thread Erin Hodgess
It's very simple indeed: to.quarterly(as.xts(ibm$ts)) Sorry for the imposition. Erin -- Erin Hodgess Associate Professor Department of Computer and Mathematical Sciences University of Houston - Downtown mailto: erinm.hodg...@gmail.com __ R-help@r-p

[R] converting a ts object to an xts object

2010-04-11 Thread Erin Hodgess
Dear R People: This is probably is very simple question. I have a monthly time series, ibm$ts , that I would like to convert to a quarterly series. I know that I could use "aggregate", but I am interested in the to.quarterly conversion, please. Here is my example: > str(ibm$ts) Time-Series [1:1