R/lcombChisqParsOK.R

Defines functions `lcombChisqParsOK`

`lcombChisqParsOK` <-
function(nchis, df, ncp) {
    if (length(df) > 1)
        if (nchis != length(df)) {
            message("The mixture coefficients vector and the df vector must have the same length")
            return(FALSE)
        }
    if (length(ncp) > 1)
        if (nchis != length(ncp)) {
            message("The mixture coefficients vector and the ncp vector must have the same length")
            return(FALSE)
        }
    return(TRUE)
}

Try the goProfiles package in your browser

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

goProfiles documentation built on Nov. 8, 2020, 8:12 p.m.