halfnorm_acc: Acceptance rate of half-normal rejection sampling

Description Usage Arguments Examples

View source: R/halfnorm_acc.R

Description

halfnorm_acc calculates the acceptance rate of half-normal rejection sampling for the truncation interval (a,b).

Usage

1

Arguments

a

lower bound for truncation.

b

upper bound for truncation.

Examples

1
2

tmvmixnorm documentation built on Sept. 19, 2020, 1:07 a.m.