Package: dlim 0.2.0

dlim: Distributed Lag Interaction Model

Collection of functions for fitting and interpreting distributed lag interaction models (DLIM). A DLIM regresses a scalar outcome on repeated measures of exposure and allows for modification by a continuous variable. Includes a dlim() function for fitting, predict() function for inference, and plotting functions for visualization. Details on methodology are described in Demateis et al. (2024) <doi:10.1002/env.2843>.

Authors:Danielle Demateis [aut, cre], Kayleigh Keller [aut], Ander Wilson [aut]

dlim_0.2.0.tar.gz
dlim_0.2.0.zip(r-4.5)dlim_0.2.0.zip(r-4.4)dlim_0.2.0.zip(r-4.3)
dlim_0.2.0.tgz(r-4.4-any)dlim_0.2.0.tgz(r-4.3-any)
dlim_0.2.0.tar.gz(r-4.5-noble)dlim_0.2.0.tar.gz(r-4.4-noble)
dlim_0.2.0.tgz(r-4.4-emscripten)dlim_0.2.0.tgz(r-4.3-emscripten)
dlim.pdf |dlim.html
dlim/json (API)
NEWS

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

Peer review:

Bug tracker:https://github.com/ddemateis/dlim/issues

Datasets:

On CRAN:

5.30 score 4 stars 7 scripts 532 downloads 8 exports 37 dependencies

Last updated 6 months agofrom:ade1f7d05c. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 01 2024
R-4.5-winOKNov 01 2024
R-4.5-linuxOKNov 01 2024
R-4.4-winOKNov 01 2024
R-4.4-macOKNov 01 2024
R-4.3-winOKNov 01 2024
R-4.3-macOKNov 01 2024

Exports:cross_basisdlimmodel_comparisonplot_cumulativeplot_DLFsim_datasim_dlfsim_dlim

Dependencies:clicolorspacedlnmfansifarverggplot2gluegridExtragtableisobandlabelinglatticelifecyclemagrittrMASSMatrixmgcvmunsellnlmepillarpkgconfigplyrR6RColorBrewerRcppreshape2rlangscalesstringistringrtibbletsModelutf8vctrsviridisviridisLitewithr

Distributed Lag Interaction Model Overview

Rendered fromdlimOverview.Rmdusingknitr::rmarkdownon Nov 01 2024.

Last update: 2024-06-04
Started: 2023-04-27