On Thu, Feb 23, 2012 at 7:09 AM, phillen <phlent...@gmail.com> wrote: > hi there! > i am desperately in need for help. > > i have read in data: > qthm=read.csv("qthm.csv",sep=";",header=TRUE) > then created time series ie > m2=ts(log(qthm$m2), start=c(1959, 1), frequency=4) > transformed these time series in zoo variables > qthmz=merge.zoo(diff(mbase),diff(m2),diff(cpi),diff(rgdp)) > > Now I want to analyse these date, but for different periods. How to I create > new time series or zoo variables with a shorter time span ie from 1959.00 to > 1979.75 only? > > I have already read through several possibilities but nothing seems to work > well for my case, what do you recommend?
?window.zoo Also read the part about posting reproducible code in the last two lines of every message to r-help. -- Statistics & Software Consulting GKX Group, GKX Associates Inc. tel: 1-877-GKX-GROUP email: ggrothendieck at gmail.com ______________________________________________ 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.