R/resid.R

#' @rdname rlm.summaries
#' 
#' @method resid rlm
#' @export
resid.rlm <- function(object, ...) {
  if(length(object$residuals)){
    return(object$residuals)
  } else {
    print("No residuals\n")
  }
}

Try the rcane package in your browser

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

rcane documentation built on May 1, 2019, 10:11 p.m.