I have checked that. It allows me to get the t-1, t-2 value but not the t+1 value. Is there any other way of achieving this other than using the plm package?
On Mon, May 7, 2012 at 8:27 PM, Liviu Andronic <landronim...@gmail.com>wrote: > On Mon, May 7, 2012 at 3:21 PM, Apoorva Gupta <apoorva.ni...@gmail.com> > wrote: > > Dear R users, > > I am working with panel data and I want the difference of a variable with > > its t+1 value. > > > > > > Could you tell me if such a function exists in the plm package? > > > Perhaps diff() or lag(). See the plm vignette. > > Liviu > -- Apoorva Gupta Consultant National Institute of Public Finance and Policy [[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.