Function to return residuals of GNARfit objects
residuals.GNARfit returns the residuals of a GNARfit object as a matrix.
## S3 method for class 'GNARfit' residuals(object,...)
object |
the output of a GNARfit call |
... |
additional arguments, unused here. |
The function first checks if the object is of GNARfit class, then uses residToMat to return the residuals.
residuals.GNARfit returns a 'ts' object of residuals, with t-alphaOrder rows and nnodes columns.
#get the residuals of the fiveNode GNAR fit residuals(GNARfit())
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.