Update R code from Gasparrini JSS 2011
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


Updated R code from Gasparrini JSS 2011

A tutorial on the use of distributed lag non-linear models in time series analysis, illustrating the capabilities of the R package dlnm, reproducing the examples in the article:

Gasparrini A. Distributed lag linear and non-linear models in R: the package dlnm. Journal of Statistical Software. 2011;43(8):1-20. [freely available here]

The original R code accompanying the article refers to an old version of the R package with an outdated syntax. The code has been updated here.

The code:

  • Rcode.R contains the R code for reproducing the examples in the article

Download as a ZIP file using the green button Clone or download above