R/REFSTD_6_SE.R

REFSTD_6_SE <-
function (refstd, N.refstd, A.Se2, B.Se2) 
{
    if (refstd == TRUE) {
        se = 1
    }
    else {
        se = rbeta(n = N.refstd, shape1 = A.Se2, shape2 = B.Se2)
    }
    results = list(se)
    names(results) = list("SE")
    return(results)
}

Try the HSROC package in your browser

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

HSROC documentation built on Sept. 19, 2019, 9:05 a.m.