R/p.error.R

"p.error" <-
function (v, a, z = a/2, s2 = 0.1^2) 
{
    p = (exp(-2 * v * a/s2) - exp(-2 * v * z/s2))/(exp(-2 * v * 
        a/s2) - 1)
    p[v == 0] = z/(a - z)
    p
}

Try the RTmodels package in your browser

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

RTmodels documentation built on May 2, 2019, 5:49 p.m.