[R] Taking a lead in panel data

Liviu Andronic landronimirc at gmail.com
Mon May 7 16:57:01 CEST 2012


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



More information about the R-help mailing list