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