R/truncation.region.function.R

Defines functions truncation.region.function

#### truncation region function as in Gross et al's write up
#### input:
####    - x = Point at which to evaluate function
####    - q, r, s = Coefficients of the function
truncation.region.function <-
function(x, q, r, s){
  q*sqrt(x) + r*sqrt(1 + x) + s
}

Try the prototest package in your browser

Any scripts or data that you put into this service are public.

prototest documentation built on May 2, 2019, 4:02 p.m.