R/methods_mgcv.R

Defines functions get_coef.gam

Documented in get_coef.gam

#' @rdname get_coef
#' @export
get_coef.gam <- function(model, ...) {
    out <- model$coefficients
    return(out)
}

Try the marginaleffects package in your browser

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

marginaleffects documentation built on June 8, 2025, 12:44 p.m.