ycroissant / plm

Panel Data Econometrics with R
GNU General Public License v2.0
50 stars 13 forks source link

lag function #3

Closed silvioba closed 3 years ago

silvioba commented 3 years ago

The lag function does not load anymore with the command plm::lag as it used to do with previous versions. To reproduce the error it is sufficient to execute plm::lag on the console

helge-baumann commented 3 years ago

I noticed the same. However, you can use the function with plm:::lag.pseries().

tappek commented 3 years ago

Thank for notifying! Will look into this! (Note that the panel-lag of plm is executed anyway if lag() encounters a pseries given that the plm package is loaded.)

tappek commented 3 years ago

This should be fixed by commit 1085 in our development repository on R-Forge: https://r-forge.r-project.org/R/?group_id=406

tappek commented 3 years ago

New version 2.4-1 of plm is now on CRAN.