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