Rdocumentation
powered by
Learn R Programming
interferenceCI (version 1.1)
bd: Function to ensure that probability lies in interval $[0, 1]$
Description
Used by targeted sampling algorithm in
exactCI
Usage
bd(x)
Arguments
x
Real number
Value
Function returns $0$ if $x < 0$, $x$ if $0\leq x\leq1$, and $1$ if $x>1$
See Also
exactCI