Helper Functions for Simulation Studies
Overview
Calculates performance criteria measures and associated Monte Carlo standard errors for simulation results. Includes functions to help run simulation studies, following a general simulation workflow that closely aligns with the approach described by Morris, White, and Crowther (2019) DOI:10.1002/sim.8086. Also includes functions for calculating bootstrap confidence intervals (including normal, basic, studentized, percentile, bias-corrected, and bias-corrected-and-accelerated) with tidy output, as well as for extrapolating confidence interval coverage rates and hypothesis test rejection rates following techniques suggested by Boos and Zhang (2000) DOI:10.1080/01621459.2000.10474226.
- Added support for bias-corrected and bias-corrected-and-accelerated (BCa) bootstrap confidence intervals.
- Corrected an error in the documentation of
bundle_sim().
From NEWS.md in the release
Install
Health
NOTEDESCRIPTION meta-informationr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64, r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64, r-patched-linux-x86_64, r-release-linux-x86_64, r-release-macos-arm64, r-release-macos-x86_64, r-release-windows-x86_64
r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-oldrel-macos-arm64, r-patched-linux-x86_64, r-release-linux-x86_64, r-release-macos-arm64, r-release-macos-x86_64
Missing dependency on R >= 4.1.0 because package code uses the pipe
|> or function shorthand \(...) syntax added in R 4.1.0.
File(s) using such syntax:
‘bootstrap-projection.R’ ‘bootstrap_CIs.Rd’ ‘bundle_sim.R’
‘calc_coverage.R’ ‘calc_rejection.R’ ‘extrapolate_coverage.Rd’
‘utilities.R’r-devel-windows-x86_64, r-oldrel-windows-x86_64, r-release-windows-x86_64
Missing dependency on R >= 4.1.0 because package code uses the pipe
|> or function shorthand \(...) syntax added in R 4.1.0.
File(s) using such syntax:
'bootstrap-projection.R' 'bootstrap_CIs.Rd' 'bundle_sim.R'
'calc_coverage.R' 'calc_rejection.R' 'extrapolate_coverage.Rd'
'utilities.R'r-oldrel-macos-x86_64
Missing dependency on R >= 4.1.0 because package code uses the pipe
|> or function shorthand \(...) syntax added in R 4.1.0.
File(s) using such syntax:
‘bootstrap-projection.R’ ‘bundle_sim.R’ ‘calc_coverage.R’
‘calc_rejection.R’ ‘utilities.R’- NOTE13 NOTE2026-06-09
- ERROR12 NOTE, 1 ERROR2026-06-08
- NOTE3 OK, 11 NOTE2026-03-10
Documentation
- Help pages
- 17
- Examples that run
- 92%12 run in a plain check · 1 never run
- Exported functions with examples
- 100%
- Documented parameters
- 100%
- Return-value docs
- 92%
- Help pages citing references
- 24% with a bibliography file
Downloads
Repository
- PRs merged (all time)
- 100%
- Median days to close, 50 most recently updated closed issues
- 5
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
Commits over time
Commit identities over time
10 development-tooling and community-health practices detected across 6 families in the upstream repository
Checks run against github.com/meghapsimatrix/simhelpers on 2026-10-25.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
GitHub Pages site last deployed 2026-10-07 · The repository has a site deploy workflow
pkgdown site last built 2026-10-07
Show all practicesHide 2 practices
Dependencies
Installing simhelpers adds 29 packages (15 with compiled code, 21 MB of source tarballs). Heaviest: stringi 11 MB, rbibutils 1.1 MB, vctrs 1.0 MB.
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- 0.3.1Latest
- 0.3.02024-09-04 · diff ↗ ·
added 5 exports
bootstrap_CIs, bootstrap_pvals, extrapolate_coverage, extrapolate_rejection, repeat_and_stack - RR 4.4.0 released · 2024-04-24
- 0.2.12024-02-29 · diff ↗
- 0.2.0
- RR 4.3.0 released · 2023-04-21
- 0.1.22022-05-04 · diff ↗ ·
removed 1 export
pattern:^[[:alpha:]]+added 7 exports
calc_absolute, calc_coverage, calc_rejection, calc_relative, calc_relative_var, create_skeleton, evaluate_by_row - RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- 0.1.12021-02-14 · diff ↗
- RR 4.0.0 released · 2020-04-24
- 0.1.02020-03-31
- RR 3.6.0 released · 2019-04-26
Package metadata
- First published
- 2020-03-31
- Total releases
- 7 / 6 yrs
- License
- GPL-3 OSI
- Minimum R
- ≥ 2.10
- Bundled data
- 676 KB / 4 files
- Download size
- 970 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("simhelpers")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-26, which the citation names so these numbers can be found later. More on citing and the projects behind them.