bd: Function to ensure that probability lies in interval [0, 1]

Description Usage Arguments Value Author(s) See Also

Description

Used by targeted sampling algorithm in exactCI

Usage

1
bd(x)

Arguments

x

Real number

Value

Function returns 0 if x < 0, x if 0≤q x≤q1, and 1 if x>1

Author(s)

Joseph Rigdon jrigdon@bios.unc.edu

See Also

exactCI



Search within the interferenceCI package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.