Simulation of Study Data
Overview
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).
Install
Health
NOTERd contentsr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
Rd files without \usage: ‘distributions.Rd’ \arguments should not be documented without \usage.
- NOTE11 OK, 2 NOTENow
- NOTE12 OK, 1 NOTE2026-07-11
- OK13 OK2026-06-09
- ERROR12 OK, 1 ERROR2026-06-08
- NOTE12 OK, 1 NOTE2026-06-07
- OK13 OK2026-05-02
Show 6 earlier changesHide 6 earlier changes
- NOTE11 OK, 1 NOTE2026-04-25
- OK14 OK2026-04-22
- ERROR13 OK, 1 ERROR2026-04-18
- OK14 OK2026-04-16
- NOTE13 OK, 1 NOTE2026-03-28
- OK14 OK2026-03-10
Documentation
- Help pages
- 68 (3 internal)includes a package overview page
- Examples that run
- 97%62 run in a plain check · 2 never run
- Exported functions with examples
- 97%
- Documented parameters
- 97%
- Return-value docs
- 94%
- Help pages citing references
- 9%
- Simulating Study Data HTML
- Clustered Data HTML
- Correlated Data HTML
- Correlation Matrices HTML
- Customized Distributions HTML
- Dynamic Data Definition HTML
- Framework for repeated simulations HTML
- Longitudinal Data HTML
- Missing Data HTML
- Ordinal Categorical Data HTML
Show 4 moreHide 4 vignettes
Downloads
Repository
- PRs merged (all time)
- 88%
- Median days to close, 50 most recently updated closed issues
- 6
- Median days to close, 50 most recently updated closed PRs
- 1
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
15 development-tooling and community-health practices detected across 7 families in the upstream repository
Checks run against github.com/kgoldfeld/simstudy on 2026-10-18.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
GitHub Pages site last deployed 2026-06-25 · The repository has a site deploy workflow
Show all practicesHide 3 practices
Dependencies
Installing simstudy adds 14 packages (11 with compiled code, 26 MB of source tarballs). Heaviest: BH 14 MB, data.table 5.7 MB, Rcpp 1.8 MB.
Code & Tests
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- 0.9.2Latest
- 0.9.12025-12-16 · diff ↗
- 0.9.0
- RR 4.5.0 released · 2025-04-11
- 0.8.1
- 0.8.02024-05-15 · diff ↗
- RR 4.4.0 released · 2024-04-24
- 0.7.1
- 0.7.02023-06-01 · diff ↗
- RR 4.3.0 released · 2023-04-21
- 0.6.0
- 0.5.12022-10-03 · diff ↗
- 0.5.02022-07-08 · diff ↗ ·
added 5 exports
addCompRisk, addSynthetic, genSynthetic, survGetParams, survParamPlot - RR 4.2.0 released · 2022-04-22
- 0.4.0
Show 25 earlier eventsHide 25 earlier events
- 0.3.02021-11-05 · diff ↗
- RR 4.1.0 released · 2021-05-18
- 0.2.12020-10-08 · diff ↗
- 0.2.0
- RR 4.0.0 released · 2020-04-24
- 0.1.162020-03-31 · diff ↗
- 0.1.15
- 0.1.14
- 0.1.13
- RR 3.6.0 released · 2019-04-26
- 0.1.122019-02-26 · diff ↗
- 0.1.112019-02-07 · diff ↗
- 0.1.10
- 0.1.9
- RR 3.5.0 released · 2018-04-23
- 0.1.8
- 0.1.7
- 0.1.6
- 0.1.5
- 0.1.4
- 0.1.3
- RR 3.4.0 released · 2017-04-21
- 0.1.22016-12-08 · diff ↗
- 0.1.12016-06-21
- RR 3.3.0 released · 2016-05-03
Package metadata
- First published
- 2016-06-21
- Total releases
- 30 / 10 yrs
- License
- GPL-3 OSI
- Minimum R
- ≥ 4.1.0
- Download size
- 1.3 MB
Cite
Cite this package
Run in R for the authors' entry:
citation("simstudy")The package provides a citation file, so citation() returns the authors' own entry.
It points to 10.21105/joss.02763.
The repository also keeps a CITATION.cff.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-21, which the citation names so these numbers can be found later. More on citing and the projects behind them.