powered by
residuals.GNARfit returns the residuals of a GNARfit object as a matrix.
residuals.GNARfit
# S3 method for GNARfit residuals(object,...)
the output of a GNARfit call
additional arguments, unused here.
residuals.GNARfit returns a 'ts' object of residuals, with t-alphaOrder rows and nnodes columns.
t-alphaOrder
nnodes
The function first checks if the object is of GNARfit class, then uses residToMat to return the residuals.
# NOT RUN { #get the residuals of the fiveNode GNAR fit residuals(GNARfit()) # }
Run the code above in your browser using DataLab