R/methods_eflm.R

Defines functions p_value.eglm

# eflm (.eglm) -----------------


#' @export
p_value.eglm <- function(model, ...) {
  stats <- stats::coef(summary(model))
  params <- insight::get_parameters(model)
  .data_frame(
    Parameter = params$Parameter,
    p = as.numeric(as.vector(stats[, 4]))
  )
}

Try the parameters package in your browser

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

parameters documentation built on June 22, 2024, 9:33 a.m.