Skip to content

simstudy

0.9.2Package record

Simulation of Study Data

2packages dependsuggested by 3
15.3Kdownloads / year
100.0%test coverage
11/13flavors OK

Overview

About

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

CRAN checks
2NOTE11OK
Check messages
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.

CRAN check page ↗

Slowest check: 9.5 min · r-oldrel-macos-x86_64
Status changes
  • 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
Advisories

none known

Documentation

In release 0.9.2
README· In the repository, left out of the releaseVignettesYes · 14 · dynamicNEWS· In the repository, left out of the releaseCitation fileYes · cites a publicationWebsiteYes · pkgdown
Cites a JOSS paper
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%

Downloads

15.3K
CRAN downloads in the past year
Rank #3,453 · ~42/day · ~1.3K/mo
Daily download trend is not available in this view yet.
1.3K30 days
3.1K90 days
15.3K1 year
Compare downloads with other packages →
Also on487 r2u5 autocran24 c2d4u

Repository

86Stars
10Forks
22Open issues
0Open PRs
19Releases
906Commits
15Commit identities
rdata-simulationdata-generationsimulationstatistical-models
License file reads as GPL-3.0 · 906 commits · Last activity 2026-06-25 · +1.2% stars, 30d · Default branch at 0.9.2.9000, ahead of CRAN 0.9.2 (checked 2026-10-18)
Responsiveness
How these are sampled
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

2025-07-09 · 832026-10-12 · 86
PracticesBeta

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.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Governance and community (4)
Code of conductContributing guideIssue templatesSupport guide
Docs source (4)
README.Rmdpkgdown

GitHub Pages site last deployed 2026-06-25 · The repository has a site deploy workflow

Coverage (1)
Coverage reporting (Codecov)
Show all practicesHide 3 practices
CRAN release process (1)
cran-comments.md
Research and citation (2)
CITATION.cffcodemeta.json
Lint, format, editor (1)
lintr
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
31 external dependencies (excludes base and recommended)

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.

Depends (1)
R >= 4.1.0
LinkingTo (3)
Enhances (0)
none
Reverse dependencies
2direct
0indirect
Imports 2
Suggested by 3
Depends, Imports or LinkingTo, most downloaded first
Suggests, most downloaded first

People & History

People (2)
Author, Maintainer since 0.1.1 (2016)
Author · added in 0.2.0
Releases (30)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • 0.9.2Latest
    record
    2026-02-09 · current release · diff ↗
  • 0.9.1
    record
    2025-12-16 · diff ↗
  • 0.9.0
    record
    2025-10-06 · diff ↗ ·
    added 2 exports
    grouped, scenario_list
  • R
    R 4.5.0 released · 2025-04-11
  • 0.8.1
    record
    2024-07-29 · diff ↗ ·
    added 2 exports
    addDataDensity, genDataDensity
  • 0.8.0
    record
    2024-05-15 · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • 0.7.1
    record
    2023-11-23 · diff ↗ ·
    added 1 export
    logisticCoefs
  • 0.7.0
    record
    2023-06-01 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 0.6.0
    record
    2023-02-18 · diff ↗ ·
    added 2 exports
    blockDecayMat, blockExchangeMat
  • 0.5.1
    record
    2022-10-03 · diff ↗
  • 0.5.0
    record
    2022-07-08 · diff ↗ ·
    added 5 exports
    addCompRisk, addSynthetic, genSynthetic, survGetParams, survParamPlot
  • R
    R 4.2.0 released · 2022-04-22
  • 0.4.0
    record
    2022-01-20 · diff ↗ ·
    added 2 exports
    defRepeat, defRepeatAdd
Show 25 earlier eventsHide 25 earlier events
  • 0.3.0
    record
    2021-11-05 · diff ↗
  • R
    R 4.1.0 released · 2021-05-18
  • 0.2.1
    record
    2020-10-08 · diff ↗
  • 0.2.0
    record
    2020-10-06 · diff ↗ ·
    added 2 exports
    genCatFormula, genMixFormula
  • R
    R 4.0.0 released · 2020-04-24
  • 0.1.16
    record
    2020-03-31 · diff ↗
  • 0.1.15
    record
    2019-10-16 · diff ↗ ·
    added 1 export
    trimData
  • 0.1.14
    record
    2019-08-09 · diff ↗ ·
    added 3 exports
    addMarkov, genMarkov, genNthEvent
  • 0.1.13
    record
    2019-05-17 · diff ↗ ·
    added 1 export
    trtStepWedge
  • R
    R 3.6.0 released · 2019-04-26
  • 0.1.12
    record
    2019-02-26 · diff ↗
  • 0.1.11
    record
    2019-02-07 · diff ↗
  • 0.1.10
    record
    2018-09-16 · diff ↗ ·
    added 3 exports
    betaGetShapes, genCorMat, genCorOrdCat
  • 0.1.9
    record
    2018-05-11 · diff ↗ ·
    added 4 exports
    addMultiFac, catProbs, genMultiFac, iccRE
  • R
    R 3.5.0 released · 2018-04-23
  • 0.1.8
    record
    2018-01-08 · diff ↗ ·
    added 2 exports
    addCorFlex, genCorFlex
  • 0.1.7
    record
    2017-11-02 · diff ↗ ·
    added 4 exports
    genFormula, genOrdCat, updateDef, updateDefAdd
  • 0.1.6
    record
    2017-10-18 · diff ↗ ·
    added 3 exports
    genSpline, viewBasis, viewSplines
  • 0.1.5
    record
    2017-10-03 · diff ↗ ·
    added 2 exports
    delColumns, negbinomGetSizeProb
  • 0.1.4
    record
    2017-09-20 · diff ↗ ·
    added 5 exports
    addCondition, defCondition, defReadCond, genDummy, genFactor
  • 0.1.3
    record
    2017-07-03 · diff ↗ ·
    added 3 exports
    addCorGen, gammaGetShapeRate, genCorGen
  • R
    R 3.4.0 released · 2017-04-21
  • 0.1.2
    record
    2016-12-08 · diff ↗
  • 0.1.1
    record
    2016-06-21
  • R
    R 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.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for simstudy version 0.9.2 [Data set]. HJJB, LLC. Data release v2026-10-21. https://doi.org/10.5281/zenodo.21843040

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.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy