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