R/print.varpart.R

`print.varpart` <-
    function (x, ...)
{
    cat("\nPartition of", x$inert, "in", x$RDA, "\n\n")
    writeLines(strwrap(pasteCall(x$call)))
    if (x$RDA == "RDA") {
        if (x$scale)
            cat("Columns of Y were scaled to unit variance\n")
        if (!is.null(x$transfo))
            cat("Species transformation: ", x$transfo)
    }
    cat("\n")
    cat("Explanatory tables:\n")
    cat(paste(paste(paste("X", seq_along(x$tables), sep=""),":  ",
                    x$tables, sep=""), collapse="\n"), "\n\n")
    print(x$part, ...)
    invisible(x)
}

Try the vegan package in your browser

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

vegan documentation built on Sept. 11, 2024, 7:57 p.m.