Skip to content
/ ars Public

R package implementing an adaptive rejection sampler.

Notifications You must be signed in to change notification settings

amondal2/ars

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ars

R package implementing an adaptive rejection sampler.

Sample usage:

> devtools::load_all("./")
Loading ars
> ars(dnorm, 10)
 [1]  0.89259554 -1.40340976  0.04997463 -0.66866277 -0.43522863 -0.86795337  0.62318480 -0.05521466 -0.05610585
[10]  0.12313170

To run tests:

> testthat::test_package('ars')

About

R package implementing an adaptive rejection sampler.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages