Simulates pregnancy data in a time-to-event framework, allowing a time-varying exposure. Default parameters for gestational length and exposure timing are provided but may also be user-specified. Users can further specify hazard ratios for spontaneous and non-spontaneous live birth and late miscarriage/stillbirth following exposure.
| Version: | 0.1.0 |
| Depends: | R (≥ 3.5) |
| Suggests: | knitr, rmarkdown, survival, testthat (≥ 3.0.0) |
| Published: | 2026-09-27 |
| DOI: | 10.32614/CRAN.package.simPreg (may not be active yet) |
| Author: | Siri N. Skodvin [aut, cre], Miriam Gjerdevik [ctb], Hakon K. Gjessing [ctb] |
| Maintainer: | Siri N. Skodvin <siri.skodvin at gmail.com> |
| License: | MIT + file LICENSE |
| NeedsCompilation: | no |
| Citation: | simPreg citation info |
| Materials: | README |
| CRAN checks: | simPreg results |
| Reference manual: | simPreg.html , simPreg.pdf |
| Vignettes: |
simPreg (source, R code) |
| Package source: | simPreg_0.1.0.tar.gz |
| Windows binaries: | r-devel: not available, r-release: not available, r-oldrel: simPreg_0.1.0.zip |
| macOS binaries: | r-release (arm64): simPreg_0.1.0.tgz, r-oldrel (arm64): simPreg_0.1.0.tgz, r-release (x86_64): simPreg_0.1.0.tgz, r-oldrel (x86_64): simPreg_0.1.0.tgz |
Please use the canonical form https://CRAN.R-project.org/package=simPreg to link to this page.