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)
}

Try the robustlm package in your browser

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

robustlm documentation built on March 22, 2021, 5:06 p.m.