Description Usage Arguments Examples
exp_acc_opt
calculates the acceptance rate of translated-exponential rejection sampling for the truncation interval (a,b).
1 | exp_acc_opt(a, b)
|
a |
lower bound for truncation. |
b |
upper bound for truncation. |
1 2 | set.seed(1203)
exp_acc_opt(1,2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.