Crandore Hub

SimTimeVar

Simulate Longitudinal Dataset with Time-Varying Correlated Covariates

Flexibly simulates a dataset with time-varying covariates with user-specified exchangeable correlation structures across and within clusters. Covariates can be normal or binary and can be static within a cluster or time-varying. Time-varying normal variables can optionally have linear trajectories within each cluster. See ?make_one_dataset for the main wrapper function. See Montez-Rath et al. <arXiv:1709.10074> for methodological details.

Versions across snapshots

VersionRepositoryFileSize
1.0.0 rolling linux/jammy R-4.5 SimTimeVar_1.0.0.tar.gz 76.2 KiB
1.0.0 rolling linux/noble R-4.5 SimTimeVar_1.0.0.tar.gz 75.8 KiB
1.0.0 rolling source/ R- SimTimeVar_1.0.0.tar.gz 21.9 KiB
1.0.0 latest linux/jammy R-4.5 SimTimeVar_1.0.0.tar.gz 76.2 KiB
1.0.0 latest linux/noble R-4.5 SimTimeVar_1.0.0.tar.gz 75.8 KiB
1.0.0 latest source/ R- SimTimeVar_1.0.0.tar.gz 21.9 KiB
1.0.0 2026-04-26 source/ R- SimTimeVar_1.0.0.tar.gz 21.9 KiB
1.0.0 2026-04-23 source/ R- SimTimeVar_1.0.0.tar.gz 21.9 KiB
1.0.0 2026-04-09 windows/windows R-4.5 SimTimeVar_1.0.0.zip 79.7 KiB
1.0.0 2025-04-20 source/ R- SimTimeVar_1.0.0.tar.gz 21.9 KiB

Dependencies (latest)

Imports