Package: AcceptReject
Title: Acceptance-Rejection Method for Generating Pseudo-Random
Observations
Version: 0.1.2
Authors@R: c(
person("Pedro Rafael D.", "Marinho", , "pedro.rafael.marinho@gmail.com", role = c("aut", "cre"),
comment = c(ORCID = "0000-0003-1591-8300")),
person("Vera Lucia Damasceno", "Tomazella", , "vera@ufscar.br", role = c("ctb"),
comment = c(ORCID = "0000-0002-6780-2089"))
)
Description: Provides a function that implements the
acceptance-rejection method in an optimized manner to generate
pseudo-random observations for discrete or continuous random
variables. Proposed by von Neumann J. (1951),
, the function is optimized
to work in parallel on Unix-based operating systems and
performs well on Windows systems. The acceptance-rejection
method implemented optimizes the probability of generating
observations from the desired random variable, by simply
providing the probability function or probability density
function, in the discrete and continuous cases, respectively.
Implementation is based on references CASELLA, George at al.
(2004) , NEAL, Radford M.
(2003) and Bishop,
Christopher M. (2006, ISBN: 978-0387310732).
License: GPL (>= 3)
Encoding: UTF-8
Roxygen: list(markdown = TRUE)
URL: https://prdm0.github.io/AcceptReject/
BugReports: https://github.com/prdm0/AcceptReject/issues/
RoxygenNote: 7.3.1
VignetteBuilder: knitr
Imports: assertthat, cli, ggplot2, glue, numDeriv, purrr, Rcpp, rlang,
scales, scattermore
Suggests: knitr, rmarkdown, cowplot, tictoc, testthat (>= 3.0.0)
Config/testthat/edition: 3
LinkingTo: Rcpp, RcppArmadillo
Repository: https://prdm0.r-universe.dev
Date/Publication: 2024-05-22 16:00:52 UTC
RemoteUrl: https://github.com/prdm0/AcceptReject
RemoteRef: HEAD
RemoteSha: 469f88f6b0655b00cba660acc50e1402765d46e6
NeedsCompilation: yes
Packaged: 2026-07-20 05:56:00 UTC; root
Author: Pedro Rafael D. Marinho [aut, cre] (ORCID:
),
Vera Lucia Damasceno Tomazella [ctb] (ORCID:
)
Maintainer: Pedro Rafael D. Marinho