R/get_group_names.R

Defines functions get_group_names.default

Documented in get_group_names.default

#' Get levels of the outcome variable in grouped or multivariate models
#' 
#' @inheritParams slopes
#' @return A character vector
#' @rdname get_group_names
#' @keywords internal
#' @export
get_group_names <- function (model, ...) {
    UseMethod("get_group_names", model)
}


#' @rdname get_group_names
#' @export
get_group_names.default <- function(model, ...) {
    return("main_marginaleffect")
}

Try the marginaleffects package in your browser

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

marginaleffects documentation built on May 29, 2024, 4:03 a.m.