Modified versions of the lag() and summary() functions: glag() and gsummary(). The prefix 'g' is a reminder of who to blame if things do not work as they should.
Please use the canonical form https://CRAN.R-project.org/package=gfunctions to link to this page.