R/taxa.default.R

Defines functions taxa.default

taxa.default <- function(x, summaries=FALSE, ...) {
    if (inherits(x, "Mefa")) return(x@xtab)
    if (inherits(x, "mefa")) {
        if (is.null(x$taxa))
            return(NULL) else if (summaries)
                return(as.data.frame(x, fun=mts, ...)) else return(x$taxa)
    }
    stop("not mefa class")
}

Try the mefa package in your browser

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

mefa documentation built on May 2, 2019, 5 p.m.