Repository navigation
pmsims 0.5.0
pmsims 0.5.0 is the initial public release of the package.
pmsims is an R package for simulation-based minimum sample size estimation in prediction model development. It
supports continuous, binary, and time-to-event outcomes, and provides a flexible, model-agnostic framework for
identifying sample sizes that achieve target predictive performance under repeated sampling.
Highlights
- Wrapper workflows for common use cases via
simulate_binary(),simulate_continuous(), andsimulate_survival() - Support for both mean-based and assurance-based criteria when identifying the minimum sample size that meets a target level of predictive performance
- A lower-level
simulate_custom()interface for user-defined data generators, model-fitting functions, and
performance metrics - Getting-started and custom-workflow documentation on the package website
- Experimental machine-learning options via regularised regression, random forest, and XGBoost, labelled as
experimental in0.5.0
Install
# install.packages("remotes")
remotes::install_github("pmsims-package/pmsims", ref = "v0.5.0")0.5.0 is available from GitHub and is not yet a CRAN release.
Links
- Release page: https://pmsims-package.github.io/pmsims/articles/release-0-5-0.html
(https://pmsims-package.github.io/pmsims/articles/release-0-5-0.html) - Changelog: https://pmsims-package.github.io/pmsims/news/index.html
(https://pmsims-package.github.io/pmsims/news/index.html) - Package site: https://pmsims-package.github.io/pmsims/ (https://pmsims-package.github.io/pmsims/)