View source: R/residuals.GNARfit.R
residuals.GNARfit | R Documentation |
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())
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.