R/print.commsim.R

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 May 2, 2019, 5:51 p.m.