R/print.PLADMM.R

Defines functions print.PLADMM

#' @importFrom stats coef
#' @method print PLADMM
#' @export
print.PLADMM <- function(x,
                         digits = max(3L, getOption("digits") - 3L),
                         ...) {
    cat(format_call(x$call), sep = "\n")

    cat("\nCoefficients:\n")
    print.default(format(coef(x), digits = digits),
                  print.gap = 2L, quote = FALSE)

    invisible(x)
}

Try the PlackettLuce package in your browser

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

PlackettLuce documentation built on July 9, 2023, 7:12 p.m.