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:
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')) |
Bug tracker:https://github.com/ddemateis/dlim/issues
Last updated 6 months agofrom:ade1f7d05c. Checks:OK: 7. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Nov 01 2024 |
R-4.5-win | OK | Nov 01 2024 |
R-4.5-linux | OK | Nov 01 2024 |
R-4.4-win | OK | Nov 01 2024 |
R-4.4-mac | OK | Nov 01 2024 |
R-4.3-win | OK | Nov 01 2024 |
R-4.3-mac | OK | Nov 01 2024 |
Exports:cross_basisdlimmodel_comparisonplot_cumulativeplot_DLFsim_datasim_dlfsim_dlim
Dependencies:clicolorspacedlnmfansifarverggplot2gluegridExtragtableisobandlabelinglatticelifecyclemagrittrMASSMatrixmgcvmunsellnlmepillarpkgconfigplyrR6RColorBrewerRcppreshape2rlangscalesstringistringrtibbletsModelutf8vctrsviridisviridisLitewithr
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Distributed Lag Interaction Model (DLIM) | dlim-package |
Build crossbasis | cross_basis |
Fit DLIM | dlim |
Example data set | ex_data |
Exposure data set for simulation | exposure |
Model Comparison | model_comparison |
Plot Distributed Lag Function | plot_cumulative |
Plot Cumulative Effects | plot_DLF |
DLIM Predictions | predict.dlim |
Simulated DLIM Predictions | predict.sim_dlim |
Print DLIM Information | print.dlim |
Simulate Data | sim_data |
Simulate Distributed Lag Functions | sim_dlf |
Fit DLIM for simulation | sim_dlim |
Summarizing DLIM | summary.dlim |