R/coef.robustlm.R

Defines functions coef.robustlm

Documented in coef.robustlm

#' Provides estimated coefficients from a fitted "robustlm" object.
#'
#' This function provides estimated
#' coefficients from a fitted "\code{robustlm}" object.
#' @param object An "\code{robustlm}" project.
#' @param ... Other arguments.
#' 
#' @return A list consisting of the intercept and regression coefficients of the fitted model.
#' @export
#'
coef.robustlm <- function(object, ...){
  coef <- list(
    alpha = object[["alpha"]],
    beta = object[["beta"]]
  )
  return(coef)
}
Mamba413/rvs documentation built on Jan. 28, 2024, 6:27 p.m.