R/gradient.truncation.region.function.R

Defines functions gradient.truncation.region.function

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

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.