Fast and efficient sampling from general univariate probability density functions. Implements a rejection sampling approach designed to take advantage of modern CPU caches and minimise evaluation of the target density for most samples. Many standard densities are internally implemented in 'C' for high performance, with general user defined densities also supported. A paper describing the methodology will be released soon.
Version: | 1.0.1 |
Depends: | R (≥ 4.2.0) |
Imports: | digest, microbenchmark, cli, rlang |
Suggests: | knitr, rmarkdown, testthat (≥ 3.0.0), ggplot2 |
Published: | 2025-03-11 |
DOI: | 10.32614/CRAN.package.stors |
Author: | Ahmad ALQabandi |
Maintainer: | Ahmad ALQabandi <ahmad.alqabandi at durham.ac.uk> |
License: | MIT + file LICENSE |
URL: | https://ahmad-alqabandi.github.io/stors/ |
NeedsCompilation: | yes |
Materials: | README |
CRAN checks: | stors results |
Reference manual: | stors.pdf |
Vignettes: |
Sampling from Built-in Distributions using stors (source, R code) Sampling from User-Defined Distributions using stors (source, R code) stors package (source, R code) |
Package source: | stors_1.0.1.tar.gz |
Windows binaries: | r-devel: not available, r-release: not available, r-oldrel: not available |
macOS binaries: | r-devel (arm64): stors_1.0.1.tgz, r-release (arm64): stors_1.0.1.tgz, r-oldrel (arm64): stors_1.0.1.tgz, r-devel (x86_64): stors_1.0.1.tgz, r-release (x86_64): stors_1.0.1.tgz, r-oldrel (x86_64): stors_1.0.1.tgz |
Please use the canonical form https://CRAN.R-project.org/package=stors to link to this page.