tidyILD: Tidy Intensive Longitudinal Data Analysis

A reproducible, tidyverse-style framework for intensive longitudinal data analysis in R, with built-in methodological safeguards, provenance tracking, and reporting tools. Encodes time structure, enforces within-between decomposition, provides spacing-aware lags, and integrates diagnostics and visualization. Use ild_prepare(), ild_center(), ild_lag(), and related functions for a unified pipeline from raw EMA/diary data to interpretable models.

Version: 0.4.0
Depends: R (≥ 4.1.0)
Imports: tibble, dplyr, lubridate, rlang, lme4, nlme, ggplot2, mgcv
Suggests: BH, testthat (≥ 3.0.0), roxygen2, knitr, rmarkdown, rstan, RcppEigen, broom.mixed, clubSandwich, jsonlite, yaml, tsibble, brms, KFAS, ctsem
Published: 2026-04-18
DOI: 10.32614/CRAN.package.tidyILD
Author: Alex Litovchenko [aut, cre]
Maintainer: Alex Litovchenko <al4877 at columbia.edu>
License: MIT + file LICENSE
NeedsCompilation: no
Citation: tidyILD citation info
Materials: README, NEWS
CRAN checks: tidyILD results

Documentation:

Reference manual: tidyILD.html , tidyILD.pdf
Vignettes: Simulation benchmarks: recovery and power (source, R code)
Bayesian dynamics recipes (ild_brms) (source, R code)
Continuous-Time Dynamics with ctsem in tidyILD (source, R code)
Developer contracts (package standards) (source, R code)
Heterogeneity and person-specific effects (source, R code)
Short analysis report (source, R code)
Within-between decomposition and handling irregular spacing (source, R code)
Glossary and quick-start checklist (source, R code)
Missingness in ILD: diagnostics and sensitivity routes (source, R code)
Reproducible ILD workflows with tidyILD provenance (source, R code)
Specialist backends: when to move beyond the default stack (source, R code)
Choosing between lme/nlme, brms, KFAS, and ctsem (source, R code)
Irregular measurement and latent state tracking (source, R code)
State-space modeling in tidyILD with KFAS (source, R code)
MSM Identification and Recovery in tidyILD (source, R code)
Temporal dynamics: choosing a model for ILD (source, R code)
From raw data to model with tidyILD (source, R code)
Tsibble interoperability (source, R code)
Visualization in tidyILD (source, R code)

Downloads:

Package source: tidyILD_0.4.0.tar.gz
Windows binaries: r-devel: tidyILD_0.3.0.zip, r-release: tidyILD_0.3.0.zip, r-oldrel: tidyILD_0.3.0.zip
macOS binaries: r-release (arm64): tidyILD_0.3.0.tgz, r-oldrel (arm64): tidyILD_0.3.0.tgz, r-release (x86_64): tidyILD_0.4.0.tgz, r-oldrel (x86_64): tidyILD_0.3.0.tgz
Old sources: tidyILD archive

Linking:

Please use the canonical form https://CRAN.R-project.org/package=tidyILD to link to this page.