R/resid.R

Defines functions resid.rlm

Documented in resid.rlm

#' @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 June 4, 2018, 5:04 p.m.