Hello! If I have the following:
x <- as.yearqtr(2000 + seq(0,7)/4) x [1] "2000 Q1" "2000 Q2" ... which is as it should be. Then if I set up time as time <- xts(1:8,x) time 2000 Q1 1 2000 Q2 2 2000 Q3 3 . . Also fine Now suppose I want to have an annual xts object. How do I go about setting that up, please? Thanks, Erin -- Erin Hodgess Associate Professor Department of Computer and Mathematical Sciences University of Houston - Downtown mailto: erinm.hodg...@gmail.com [[alternative HTML version deleted]] ______________________________________________ R-help@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.