R/print-methods.R

Defines functions print.complmrob print.bootcoefs

Documented in print.bootcoefs print.complmrob

#' Print the object
#'
#' Print information about the models returned by \code{\link{complmrob}} or \code{\link{bootcoefs}}.
#' For a detailed description see the help on \code{\link[=summary.complmrob]{summary}}.
#'
#' @param x the object to be printed.
#' @param conf.level the confidence level for the confidence interval.
#' @param conf.type the type of the printed confidence interval.
#' @param ... ignored.
#'
#' @seealso \code{\link{summary-methods}}
#' @name print-methods
NULL


# @rdname print-methods print for robust linear regression models with compositional data
#' @rdname print-methods
#' @export
print.complmrob <- function(x, conf.level = 0.95, ...) {
    print(summary(x, conf.level = conf.level))
}

# @describeIn print-methods print for bootstrapped robust linear regression models with or without compositional data
#' @rdname print-methods
#' @export
print.bootcoefs <- function(x, conf.level = 0.95, conf.type = "perc", ...) {
    print(summary(x, conf.level = conf.level, conf.type = conf.type))
}

Try the complmrob package in your browser

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

complmrob documentation built on Sept. 18, 2019, 1:02 a.m.