R/print.summary.meandist.R

`print.summary.meandist` <-
    function(x, ...)
{
    cat("\nMean distances:\n")
    tab <- rbind("within groups" = x$W,
                 "between groups" = x$B,
                 "overall" = x$D)
    colnames(tab) <- "Average"
    print(tab, ...)
    cat("\nSummary statistics:\n")
    tab <- rbind("MRPP A weights n" = x$A1,
                 "MRPP A weights n-1" = x$A2,
                 "MRPP A weights n(n-1)"= x$A3,
                 "Classification strength"=x$CS)
    colnames(tab) <- "Statistic"
    print(tab, ...)
    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.