R/margins_summary.R

Defines functions margins_summary

Documented in margins_summary

#' @rdname margins
#' @param level A numeric value specifying the confidence level for calculating p-values and confidence intervals.
#' @param by_factor A logical specifying whether to order the output by factor (the default, \code{TRUE}).
#' @export
margins_summary <- function(model, ..., level = 0.95, by_factor = TRUE) {
    mar <- margins(model, ...)
    summary(mar, level = 0.95, by_factor = by_factor)
}

Try the margins package in your browser

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

margins documentation built on June 22, 2024, 9:30 a.m.