R/print.mixor.R

Defines functions print.mixor

Documented in print.mixor

print.mixor <-
function(x, digits = max(3L, getOption("digits") - 3L), ...) {
    cat("\nCall:\n", paste(deparse(x$call), sep = "\n", collapse = "\n"), 
        "\n\n", sep = "")
    if (length(coef(x))) {
        cat("Coefficients:\n")
        print.default(format(coef(x), digits = digits), print.gap = 2L, 
            quote = FALSE)
    }
    else cat("No coefficients\n")
    cat("\n")
    invisible(x)
}

Try the mixor package in your browser

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

mixor documentation built on May 2, 2019, 5:56 a.m.