Description Usage Arguments Value Examples
View source: R/exp_rejection.R
exp_rej
is used for translated-exponential rejection sampling.
1 |
a |
lower bound |
b |
upper bound |
lam |
lambda for translated-exponential only |
exp_rej
returns a list
x
: sampled value; and
acc
: total number of draw used.
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.