R/print.infl.mvabund.R

print.infl.mvabund <- 
function (x, digits = max(3, getOption("digits") - 4), ...) {

    cat("Influence measures of\n\t", deparse(x$call), ":\n")
    varnames <- names(x[[1]])
    for(j in 1:length(x[[1]])){
    	cat("\n", varnames[j],":\n", sep="")

    	is.star <- apply(x$is.inf[[j]], 1, any, na.rm = TRUE)
    	print(data.frame(x$infmat[[j]], inf = ifelse(is.star, "*", " ")), 
        digits = digits, ...)
    }
    invisible(x)

}

Try the mvabund package in your browser

Any scripts or data that you put into this service are public.

mvabund documentation built on March 18, 2022, 7:25 p.m.