R/formula-methods.R

#' @describeIn LM Extracts the symbolic model formula used in [`el_lm()`] or
#'   [`el_glm()`].
#' @exportMethod formula
#' @usage NULL
setMethod("formula", "LM", function(x, ...) {
  formula(x@terms)
})
markean/bayesELcpp documentation built on May 20, 2024, 1:05 p.m.