R/summary.R

Defines functions summary.marginalmeans summary.slopes

#' @noRd
#' @export
summary.slopes <- function(object, ...) {
    out <- get_averages(object, ...)
    return(out)
}


#' @noRd
#' @export
summary.predictions <- summary.slopes


#' @noRd
#' @export
summary.comparisons <- summary.slopes


#' @noRd
#' @export
summary.marginalmeans <- function(object, ...) {
    return(object)
}


#' @noRd
#' @export
summary.hypotheses <- summary.marginalmeans

Try the marginaleffects package in your browser

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

marginaleffects documentation built on Oct. 20, 2023, 1:07 a.m.