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 ______________________________________________ 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.