search for: lagvar

Displaying 1 result from an estimated 1 matches for "lagvar".

Did you mean: langvar
2005 Aug 14
1
Panel data handling (lags, growth rates)
...code and propose improvements. Second, it'll be great if some package-owner can adopt these orphans :-) and make them available to the R community. The two functions follow: library(Hmisc) # Am using Lag() in this. # Task: For a supplied list of variables (the list `lagvars'), # make new columns in a dataset denoting lagged values. # You must supply `unitvar' which identifies the unit that's # repeatedly observed. # You must supply the name of the time variable `timevar' # and you must tell a list of the lags that int...