R/getcombmethod.R

getcombmethod <-
function (comb.method) 
{
    if (comb.method == "fisher") {
        rval = function(x) {
            return(mean(log(x)))
        }
    }
    if (comb.method == "min") {
        rval = min
    }
    return(rval)
}

Try the cpt package in your browser

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

cpt documentation built on May 1, 2019, 10:26 p.m.