R/twohk.s

"twohk" <-
    function(varcov, ana.obj, ...)
{
    this.call <- match.call()
    if (!inherits(ana.obj, "analysis.object"))
        stop("second arg must be analysis.object")
    method <- ana.obj$method
    res <-
        if (method == "F2") {
            twohkf2(varcov, ana.obj, ...)
        }
        else {
            twohkbc1(varcov, ana.obj, ...)
        }
    res$call <- this.call
    res
}

Try the bqtl package in your browser

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

bqtl documentation built on Sept. 8, 2023, 5:44 p.m.