R/weights.cca.R

"weights.cca" <-
    function (object, display = "sites", ...) 
{
    display <- match.arg(display, c("sites", "species", "lc", "wa"))
    if (display %in% c("sites", "lc", "wa")) {
        if (!is.null(object$na.action) &&
            inherits(object$na.action, "exclude")) {
            object$rowsum <- napredict(object$na.action, object$rowsum)
            object$rowsum[object$na.action] <- object$rowsum.excluded
            }
        object$rowsum
    }
    else object$colsum
}

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.