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]
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 07 May. 2025.
Previous versions and publish date:
1.0 (2017-05-18 10:28)
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
04/0704/0804/0904/1004/1104/1204/1304/1404/1504/1604/1704/1804/1904/2004/2104/2204/2304/2404/2504/2604/2704/2804/2904/3005/0105/0205/0305/0405/05Downloads for AR0246810121416182022242628TrendBars

Today's Hot Picks in Authors and Packages

humanize  
Create Values for Human Consumption
An almost direct port of the 'python' 'humanize' package . Thi ...
Download / Learn more Package Citations See dependency  
aroma.affymetrix  
Analysis of Large Affymetrix Microarray Data Sets
A cross-platform R framework that facilitates processing of any number of Affymetrix microarray samp ...
Download / Learn more Package Citations See dependency  
quickcode  
Quick and Essential 'R' Tricks for Better Scripts
The NOT functions, 'R' tricks and a compilation of some simple quick plus often used 'R' codes to im ...
Download / Learn more Package Citations See dependency  
MLDS  
Maximum Likelihood Difference Scaling
Difference scaling is a method for scaling perceived supra-threshold differences. The package cont ...
Download / Learn more Package Citations See dependency  
funLBM  
Model-Based Co-Clustering of Functional Data
The funLBM algorithm allows to simultaneously cluster the rows and the columns of a data matrix wher ...
Download / Learn more Package Citations See dependency  

24,205

R Packages

207,311

Dependencies

65,312

Author Associations

24,206

Publication Badges

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