R/resid.R

Defines functions resid

Documented in resid

#' Resid linreg
#' 
#' Returns the residuals from the linear regression. 
#' 
#' @param my_lm An object of class "linreg".
#' @return The residuals from the linear regression.
#' 
#' 
#' @export

resid<-function(my_lm){
  return(my_lm$Residuals)
}
harjew/lab4G3 documentation built on Nov. 4, 2019, 1:27 p.m.