R/print.radline.R

"print.radline" <-
    function (x, ...) 
{
    cat("\nRAD model:", x$model, "\n")
    cat("Family:", family(x)$family, "\n")
    cat("No. of species: ", length(x$y), "\nTotal abundance:", 
        sum(x$y), "\n\n")
    p <- coef(x)
    dev <- deviance(x)
    AIC <- AIC(x)
    BIC <- AIC(x, k = log(length(x$y)))
    tmp <- c(p, dev, AIC, BIC)
    names(tmp) <- c(names(p), "Deviance", "AIC", "BIC")
    print(tmp, ...)
    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.