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 <landronimirc@gmail.com>wrote:

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

