simstudy: Simulation of Study Data

Simulates data sets in order to explore modeling techniques or better understand data generating processes. The user specifies a set of relationships between covariates, and generates data based on these specifications. The final data sets can represent data from randomized control trials, repeated measure (longitudinal) designs, and cluster randomized trials. Missingness can be generated using various mechanisms (MCAR, MAR, NMAR).

Version: 0.8.1
Depends: R (≥ 3.3.0)
Imports: data.table, glue, methods, mvnfast, Rcpp, backports, fastglm
LinkingTo: Rcpp, pbv (≥ 0.4-22), fastglm
Suggests: covr, dplyr, formatR, gee, ggplot2, grid, gridExtra, hedgehog, knitr, magrittr, Matrix, mgcv, ordinal, pracma, rmarkdown, scales, splines, survival, testthat, gtsummary, broom.helpers, survminer, katex, dirmult, rms
Published: 2024-07-29
DOI: 10.32614/CRAN.package.simstudy
Author: Keith Goldfeld ORCID iD [aut, cre], Jacob Wujciak-Jens ORCID iD [aut]
Maintainer: Keith Goldfeld <keith.goldfeld at nyulangone.org>
BugReports: https://github.com/kgoldfeld/simstudy/issues
License: GPL-3
URL: https://github.com/kgoldfeld/simstudy, https://kgoldfeld.github.io/simstudy/, https://kgoldfeld.github.io/simstudy/dev/
NeedsCompilation: yes
Citation: simstudy citation info
CRAN checks: simstudy results

Documentation:

Reference manual: simstudy.pdf
Vignettes: Clustered Data
Correlation Matrices
Correlated Data
Customized Distributions
Dynamic Data Definition
Targeted logistic model coefficients
Longitudinal Data
Missing Data
Ordinal Categorical Data
Simulating Study Data
Spline Data
Survival Data
Treatment and Exposure

Downloads:

Package source: simstudy_0.8.1.tar.gz
Windows binaries: r-devel: simstudy_0.8.1.zip, r-release: simstudy_0.8.1.zip, r-oldrel: simstudy_0.8.1.zip
macOS binaries: r-release (arm64): simstudy_0.8.1.tgz, r-oldrel (arm64): simstudy_0.8.1.tgz, r-release (x86_64): simstudy_0.8.1.tgz, r-oldrel (x86_64): simstudy_0.8.1.tgz
Old sources: simstudy archive

Reverse dependencies:

Reverse suggests: coursekata, Mmcsd

Linking:

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