R/Fitted.arima.R

Fitted.arima <-
function (object) 
{
    if (prod(class(object)[1] != "Arima", class(object)[1] != "Arimax")) 
        stop("The 'object' must be a \"Arima\" or \"Arimax\"!")
    eval(object$call$x) - object$residuals
}

Try the AnalyzeTS package in your browser

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

AnalyzeTS documentation built on Dec. 9, 2019, 1:07 a.m.