exp_acc_opt {tmvmixnorm} | R Documentation |
exp_acc_opt
calculates the acceptance rate of translated-exponential rejection sampling for the truncation interval (a,b).
exp_acc_opt(a, b)
a |
lower bound for truncation. |
b |
upper bound for truncation. |
set.seed(1203)
exp_acc_opt(1,2)