For distributions whose probability density functions are logconcave, Adaptive Rejection Sampling (ARS) algorithm can be used to build for sampling by Gilks W R, Wild P (1992)
Package details 


Author  Dong Zhang 
Date of publication  20170908 10:39:55 UTC 
Maintainer  Dong Zhang <[email protected]> 
License  GPL2 
Version  1.0 
Package repository  View on CRAN 
Installation 
Install the latest version of this package by entering the following in R:

Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.