R/print.commsim.R

Defines functions print.commsim

Documented in print.commsim

print.commsim <- function(x, ...) {
    cat("An object of class", dQuote(class(x)[1L]), "\n")
    isSeq <- ifelse(x$isSeq, "sequential", "non-sequential")
    if(x$binary)
        kind <- "binary"
    else
        kind <- ifelse(x$mode == "integer", "count", "abundance")
    cat(sQuote(x$method), " method (", 
        kind, ", ", isSeq, ", ", x$mode, " mode)\n\n", sep="")
    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.