R/swap.s

"swap" <-
    function(varcov, invars, rparm, nreps, ana.obj, ...)
{
    this.call <- match.call()
    if (!inherits(ana.obj, "analysis.object"))
        stop("arg 5 must be analysis.object")
    method <- ana.obj$method
    res <-
        if (method == "F2") {
            swapf2(varcov, invars, rparm, nreps, ana.obj, ...)
        }
        else {
            swapbc1(varcov, invars, rparm, nreps, 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.