I think we need to know a bit about your level of knowledge of R, what the data currently looks like (In R format preferably) and maybe see what you have tried so far. Please have a look at the following link, and pay particular attention to the use of dput() as a way to present data on R-help.
John Kane Kingston ON Canada > -----Original Message----- > From: shivibha...@ymail.com > Sent: Wed, 6 May 2015 03:21:27 -0700 (PDT) > To: r-help@r-project.org > Subject: [R] MOnth over Month Variance in % > > Hi All, > I have data based on truck load for various states. > The data points range from Oct'14 To Mar'15. Now I need to know what was > the > difference in load in Nov as compared to Oct in both real numbers as well > as > in %. Similarly for all the month in comparison to the previous month. > I am able to get the desired result in excel and not sure on how to > achieve > the same in R. > > Kindly suggest. > > > > -- > View this message in context: > http://r.789695.n4.nabble.com/MOnth-over-Month-Variance-in-tp4706873.html > Sent from the R help mailing list archive at Nabble.com. > > ______________________________________________ > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > 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. ____________________________________________________________ Send your photos by email in seconds... TRY FREE IM TOOLPACK at http://www.imtoolpack.com/default.aspx?rc=if3 Works in all emails, instant messengers, blogs, forums and social networks. ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see 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.