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.
- 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