On Mon, May 7, 2012 at 3:21 PM, Apoorva Gupta <apoorva.nipfp at 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