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


interferenceCI documentation built on May 30, 2017, 6:56 a.m.

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