R users, I am a beginner in R. I have a time series data on various macro variables like GDP, unemployment rate, consumer spending, imports, exports etc. I am interested in calculating year over year growth rate for each of those variables. Is there any simple function in R for carrying out such repeated operations.
I would like to carry out growth rate between two consecutive yearly row data and also between current quarter and previous years quarterly value. any help would be highly appreciated, thanks in advance. srinivas statistical analyst [[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.