Package: dlnm 2.4.7

dlnm: Distributed Lag Non-Linear Models

Collection of functions for distributed lag linear and non-linear models.

Authors:Antonio Gasparrini [aut, cre], Ben Armstrong [aut], Fabian Scheipl [ctb]

dlnm_2.4.7.tar.gz
dlnm_2.4.7.zip(r-4.5)dlnm_2.4.7.zip(r-4.4)dlnm_2.4.7.zip(r-4.3)
dlnm_2.4.7.tgz(r-4.4-any)dlnm_2.4.7.tgz(r-4.3-any)
dlnm_2.4.7.tar.gz(r-4.5-noble)dlnm_2.4.7.tar.gz(r-4.4-noble)
dlnm_2.4.7.tgz(r-4.4-emscripten)dlnm_2.4.7.tgz(r-4.3-emscripten)
dlnm.pdf |dlnm.html
dlnm/json (API)
NEWS

# Install 'dlnm' in R:
install.packages('dlnm', repos = c('https://gasparrini.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/gasparrini/dlnm/issues

Datasets:
  • chicagoNMMAPS - Daily Mortality Weather and Pollution Data for Chicago
  • drug - A Trial on the Effect of Time-Varying Doses of a Drug
  • nested - Nested Case-Control Study with a Time-Varying Exposure and a Cancer Outcome

On CRAN:

26 exports 73 stars 6.75 score 5 dependencies 5 dependents 209 mentions 290 scripts 1.9k downloads

Last updated 3 years agofrom:3068104d7a. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKAug 21 2024
R-4.5-winOKAug 21 2024
R-4.5-linuxOKAug 21 2024
R-4.4-winOKAug 21 2024
R-4.4-macOKAug 21 2024
R-4.3-winOKAug 21 2024
R-4.3-macOKAug 21 2024

Exports:cbPencoef.crosspredcoef.crossreducecrcrossbasiscrosspredcrossreduceequalknotsexphistlines.crosspredlines.crossreducelogknotsonebasisplot.crosspredplot.crossreducepoints.crosspredpoints.crossreducePredict.matrix.cb.smoothpssmooth.construct.cb.smooth.specsummary.crossbasissummary.crosspredsummary.crossreducesummary.onebasisvcov.crosspredvcov.crossreduce

Dependencies:latticeMatrixmgcvnlmetsModel

Distributed lag linear and non-linear models for time series data

Rendered fromdlnmTS.Rnwusingutils::Sweaveon Aug 21 2024.

Last update: 2020-05-01
Started: 2016-09-15

Distributed lag linear and non-linear models: the R the package dlnm

Rendered fromdlnmOverview.Rnwusingutils::Sweaveon Aug 21 2024.

Last update: 2021-10-07
Started: 2016-09-15

Extension of the dlnm package

Rendered fromdlnmExtended.Rnwusingutils::Sweaveon Aug 21 2024.

Last update: 2017-01-16
Started: 2016-09-15

Penalized distributed lag linear and non-linear models

Rendered fromdlnmPenalized.Rnwusingutils::Sweaveon Aug 21 2024.

Last update: 2017-01-16
Started: 2017-01-16

Readme and manuals

Help Manual

Help pageTopics
Distributed Lag Non-linear Models (DLNM)dlnm-package dlnm
Generate Penalty Matrices for a DLNMcbPen
Daily Mortality Weather and Pollution Data for ChicagochicagoNMMAPS
Model Coefficients and their (Co)Variance Matrix of a DLNMcoef.crosspred coef.crossreduce vcov.crosspred vcov.crossreduce
Generate a Basis Matrix for Penalized Cubic Regression Splinescr
Generate a Cross-Basis Matrix for a DLNMcrossbasis summary.crossbasis
Generate Predictions for a DLNMcrosspred summary.crosspred
Reduce the Fit of a DLNM to One-Dimensional Summariescrossreduce summary.crossreduce
A Trial on the Effect of Time-Varying Doses of a Drugdrug
Define Knots at Equally-Spaced Valuesequalknots
Define Exposure Histories from an Exposure Profileexphist
Generate a Basis Matrix of Indicator Variables for Integer Valuesinteger
Generate a Basis Matrix with a Variable as Linearlin
Define Knots for Lag Space at Equally-Spaced Log-Valueslogknots
Nested Case-Control Study with a Time-Varying Exposure and a Cancer Outcomenested
Generate a Basis Matrix for Different Functionsmkbasis mklagbasis onebasis summary.onebasis
Plot Predictions for a DLNMcrossplot lines.crosspred plot.crosspred points.crosspred
Plot Predictions for a Reduced DLNMlines.crossreduce plot.crossreduce points.crossreduce
Generate a Basis Matrix of Polynomialspoly
Generate a Basis Matrix for P-Splinesps
Cross-Basis Spline Smooths for a DLNMPredict.matrix.cb.smooth smooth.construct.cb.smooth.spec
Generate a Basis Matrix of Indicator Variablesstrata
Generate a Basis Matrix of Linear Threshold Transformationsthr