R/coef_linreg.R

Defines functions coef.linreg coef

Documented in coef coef.linreg

#' @title Generic Method for coef()
#' @param object input containing model data
#' @param ... additional input to the coef function
#' @export
coef <- function(object, ...) UseMethod("coef")

#' @title linreg method for coef()
#' @param object input of the class \code{linreg} containing model data
#' @param ... additional input to the coef function
#' @export
coef.linreg <- function(object, ...) {
  coeffs <- object$Regressioncoeff
  coeffs
}
JS2387/Group8LinearRegressionFJ documentation built on July 20, 2023, 9:24 a.m.