R/print.repolr.R

Defines functions print.repolr

Documented in print.repolr

print.repolr <-
function(x, digits = 4, ...){

    # output call and coefficients
    cat("\n")
    cat(x$title,"\n")
    cat("\nCall:\n", paste(deparse(x$call), sep = "\n", collapse = "\n"), 
        "\n\n", sep = "")
    if (length(x$coefficients)) {
        cat("Coefficients:", "\n")
        print.default(format(x$coefficients, digits = digits), print.gap = 2L, 
            quote = FALSE)
    }
    else cat("No Coefficients", "\n")
    cat("\n")
    invisible(x)
}

Try the repolr package in your browser

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

repolr documentation built on May 1, 2019, 9:20 p.m.