Simulates events from one dimensional nonhomogeneous Poisson point processes (NHPPPs) as per Trikalinos and Sereda (2024, <doi:10.48550/arXiv.2402.00358> and 2024, <doi:10.1371/journal.pone.0311311>). Functions are based on three algorithms that provably sample from a target NHPPP: the time-transformation of a homogeneous Poisson process (of intensity one) via the inverse of the integrated intensity function (Cinlar E, "Theory of stochastic processes" (1975, ISBN:0486497996)); the generation of a Poisson number of order statistics from a fixed density function; and the thinning of a majorizing NHPPP via an acceptance-rejection scheme (Lewis PAW, Shedler, GS (1979) <doi:10.1002/nav.3800260304>).
| Version: | 1.0.2 |
| Depends: | R (≥ 2.10) |
| Imports: | lifecycle,rstream,Rcpp (≥ 1.0.12) |
| LinkingTo: | Rcpp |
| Suggests: | data.table,knitr,rlecuyer,rmarkdown,testthat,tictoc,truncnorm,withr |
| Published: | 2025-01-09 |
| DOI: | 10.32614/CRAN.package.nhppp |
| Author: | Thomas Trikalinos |
| Maintainer: | Thomas Trikalinos <thomas_trikalinos at brown.edu> |
| BugReports: | https://github.com/bladder-ca/nhppp/issues |
| License: | GPL (≥ 3) |
| URL: | https://bladder-ca.github.io/nhppp/,https://github.com/bladder-ca/nhppp |
| NeedsCompilation: | yes |
| Language: | es |
| Citation: | nhppp citation info |
| Materials: | README,NEWS |
| CRAN checks: | nhppp results |
| Reference manual: | nhppp.html ,nhppp.pdf |
| Vignettes: | Sampling log-linear times (source,R code) A simple discrete event simulation model of a cancer's natural history (source,R code) |
| Package source: | nhppp_1.0.2.tar.gz |
| Windows binaries: | r-devel:nhppp_1.0.2.zip, r-release:nhppp_1.0.2.zip, r-oldrel:nhppp_1.0.2.zip |
| macOS binaries: | r-release (arm64):nhppp_1.0.2.tgz, r-oldrel (arm64):nhppp_1.0.2.tgz, r-release (x86_64):nhppp_1.0.2.tgz, r-oldrel (x86_64):nhppp_1.0.2.tgz |
| Old sources: | nhppp archive |
Please use the canonical formhttps://CRAN.R-project.org/package=nhpppto link to this page.