R/fuzzyor.R

`fuzzyor` <- function(...) {
    other.args <- list(...)
    if (is.matrix(other.args[[1]]) | is.data.frame(other.args[[1]])) {
        return(apply(other.args[[1]], 1, max))
    }
    else {
        return(pmax(...))
    }
}
AlrikThiem/QCApro documentation built on May 5, 2019, 4:55 a.m.