Dear list, I would like to ask you a question. I'm trying to build the time series' production with the Divisia index. The final step would require to do the following calculations: a)PROD(2006)=PROD(2007)/1+[DELTA_PROD(2007)] b)PROD(2005)=PROD(2006)+[1+DELTA_PROD(2006)] c)PROD(2004)=PROD(2005)+[1+DELTA_PROD(2005)] my question is how can I tell R to take the value generated in the previous step (for example is the case of the produciton of 2005 that need the value of the production of 2006) in order to generate the time series production?? (PS:my data.frame is not set as a time series) Thanks for your attention!!
[[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.