Package: pmsims 1.0.0

pmsims: Simulation-Based Sample Size Tools for Prediction Models
Provides a flexible, simulation-based toolkit for exploring how much data are needed to develop reliable prediction models. It works by repeatedly generating data, fitting models, and evaluating performance to show how sample size affects predictive accuracy, calibration, and overfitting. The package supports continuous, binary, and time-to-event outcomes and can be used with both regression-based modelling approaches and machine-learning methods. It is designed to help researchers plan studies, assess feasibility, and build more robust and generalisable models. The methods are described in Olaniran et al. (2026) <doi:10.1186/s12874-026-02935-9> and Shamsutdinova et al. (2026) <doi:10.48550/arXiv.2602.23507>.
Authors:
pmsims_1.0.0.tar.gz
pmsims_1.0.0.zip(r-4.7-any)pmsims_1.0.0.zip(r-4.6-any)pmsims_1.0.0.zip(r-4.5-any)
pmsims_1.0.0.tgz(r-4.6-any)pmsims_1.0.0.tgz(r-4.5-any)
pmsims_1.0.0.tar.gz(r-4.7-any)pmsims_1.0.0.tar.gz(r-4.6-any)
pmsims_1.0.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
pmsims/json (API)
| # Install 'pmsims' in R: |
| install.packages('pmsims', repos = c('https://pmsims-package.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/pmsims-package/pmsims/issues
Pkgdown/docs site:https://pmsims-package.github.io
- binary_example - Precomputed sample-size simulations
- continuous_example - Precomputed sample-size simulations
- custom_example - Precomputed sample-size simulations
- survival_example - Precomputed sample-size simulations
machine-learningprediction-modelsample-sizesimulation
Last updated from:af124dd71a. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel | OK | 223 | ||
| source / vignettes | OK | 264 | ||
| linux-release | OK | 213 | ||
| macos-release | OK | 285 | ||
| macos-oldrel | OK | 181 | ||
| windows-devel | OK | 147 | ||
| windows-release | OK | 153 | ||
| windows-oldrel | OK | 145 | ||
| wasm-release | OK | 165 |
Exports:simulate_binarysimulate_continuoussimulate_customsimulate_survival
Dependencies:backportsbase64encbslibcachemcheckmatecliclustercmprskcodetoolscolorspacecpp11data.tablediagramDiceKrigingdigestdoParallelevaluatefarverfastmapfontawesomeforeachforeignFormulafsfuturefuture.applyggplot2glmnetglobalsgluegridExtragtablehighrHmischtmlTablehtmltoolshtmlwidgetsisobanditeratorsjquerylibjsonliteKernSmoothknitrlabelinglatticelavalifecyclelistenvmagrittrMASSMatrixMatrixModelsmemoisemetsmimemlpwrmultcompmvtnormnlmennetnumDerivparallellypecplotrixpolsplinepROCprodlimprogressrPublishquantregR6randtoolboxrangerrappdirsRColorBrewerRcppRcppArmadilloRcppEigenrgenoudriskRegressionrlangrlistrmarkdownrmsrngWELLrpartrstudioapiS7sandwichsassscalesshapeSparseMSQUAREMstringistringrsurvivalTH.datatimeregtimeROCtinytexvctrsviridisLitewithrxfunXMLyamlzoo
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Precomputed sample-size simulations | binary_example continuous_example custom_example precomputed survival_example |
| Minimum sample size for binary-outcome prediction models | simulate_binary |
| Minimum sample size for continuous‐outcome prediction models | simulate_continuous |
| Minimum sample size for custom simulation workflows | simulate_custom |
| Minimum sample size for survival‐outcome prediction models | simulate_survival |