R/use_speed.R

Defines functions fit_speedglm

fit_speedglm <- function(x) {
  speedglm::speedglm(formula = x$formula,
                     data = x$data,
                     family = eval(x$family),
                     weights = x$weights)
}

Try the mediation package in your browser

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

mediation documentation built on Oct. 9, 2019, 1:04 a.m.