Other packages > Find by keyword >

AR  

Another Look at the Acceptance-Rejection Method
View on CRAN: Click here


Download and install AR package within the R console
Install from CRAN:
install.packages("AR")

Install from Github:
library("remotes")
install_github("cran/AR")

Install by package version:
library("remotes")
install_version("AR", "1.1")



Attach the package and use:
library("AR")
Maintained by
Abbas Parchami
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2017-05-18
Latest Update: 2018-05-02
Description:
In mathematics, 'rejection sampling' is a basic technique used to generate observations from a distribution. It is also commonly called 'the Acceptance-Rejection method' or 'Accept-Reject algorithm' and is a type of Monte Carlo method. 'Acceptance-Rejection method' is based on the observation that to sample a random variable one can perform a uniformly random sampling of the 2D cartesian graph, and keep the samples in the region under the graph of its density function. Package 'AR' is able to generate/simulate random data from a probability density function by Acceptance-Rejection method. Moreover, this package is a useful teaching resource for graphical presentation of Acceptance-Rejection method. From the practical point of view, the user needs to calculate a constant in Acceptance-Rejection method, which package 'AR' is able to compute this constant by optimization tools. Several numerical examples are provided to illustrate the graphical presentation for the Acceptance-Rejection Method.
How to cite:
Abbas Parchami (2017). AR: Another Look at the Acceptance-Rejection Method. R package version 1.1, https://cran.r-project.org/web/packages/AR. Accessed 15 Jul. 2026.
Previous versions and publish date:
1.0 (2017-05-18 10:28), 1.1 (2018-05-02 05:54), (2026-07-09 07:56)
Other packages that cited AR R package
View AR citation profile
Other R packages that AR depends, imports, suggests or enhances
Complete documentation for AR
Functions, R codes and Examples using the AR R package
Some associated functions: AR-package . AR.Sim . 
Some associated R codes: AR.Sim.R .  Full AR package functions and examples
Downloads during the last 30 days

Today's Hot Picks in Authors and Packages

gamlss.add  
Extra Additive Terms for Generalized Additive Models for Location Scale and Shape
Interface for extra smooth functions including tensor products, neural networks and decision trees. ...
Download / Learn more Package Citations See dependency  
footBayes  
Fitting Bayesian and MLE Football Models
This is the first package allowing for the estimation, visualization and prediction of the most wel ...
Download / Learn more Package Citations See dependency  
PermAlgo  
Permutational Algorithm to Simulate Survival Data
This version of the permutational algorithm generates a dataset in which event and censoring times ...
Download / Learn more Package Citations See dependency  
gscaLCA  
Generalized Structure Component Analysis- Latent Class Analysis & Latent Class Regression
Execute Latent Class Analysis (LCA) and Latent Class Regression (LCR) by using Generalized Structu ...
Download / Learn more Package Citations See dependency  
pulseTD  
Identification of Transcriptional Dynamics using Pulse Models via 4su-Seq Data and RNA-Seq Data
A tool for analyzing the transcription, processing and degradation rates of genes by 4sU-seq (the Me ...
Download / Learn more Package Citations See dependency  
binhf  
Haar-Fisz Functions for Binomial Data
Binomial Haar-Fisz transforms for Gaussianization as in Nunes and Nason (2009). ...
Download / Learn more Package Citations See dependency  

27,806

R Packages

239,283

Dependencies

73,837

Author Associations

27,807

Publication Badges

© Copyright since 2022. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA