R/coef_ridgereg.R

Defines functions coef.ridgereg

Documented in coef.ridgereg

#' coef S3 method
#' @description S3 method for objects of class ridgereg providing the coefficients of the linear regression
#' @param object An object of class ridgereg
#' @param ... other arguments
#' @return coefficients of linear regression
#' @name coef.ridgereg
#' @export
coef.ridgereg <- function(object, ...){
  return(object$regression_coefficient)
}
Marbr987/bonus_lab documentation built on Dec. 17, 2021, 2:19 a.m.