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)
}
vegandevs/vegan documentation built on April 11, 2024, 12:15 a.m.