R/residuals.R

Defines functions residuals.esemifar

Documented in residuals.esemifar

#' Extract Model Residuals
#'
#' Generic function which extracts model residuals from a \code{esemifar} class
#' object. Both \code{residuals} and its abbreviated form \code{resid} can be called.
#'
#' @param object an object from the \code{esemifar} class.
#' @param ... included for consistency with the generic function.
#'
#' @export
#'
#' @return
#' Residuals extracted from a \code{esemifar} class object.
#'
#' @author
#'\itemize{
#'\item Sebastian Letmathe (Scientific Employee) (Department of Economics,
#'Paderborn University), \cr
#'}

residuals.esemifar <- function(object, ...){
  object$res
}

Try the esemifar package in your browser

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

esemifar documentation built on May 29, 2024, 6:13 a.m.