fitted.GNARfit function

Function to return fitted values of GNARfit objects

Function to return fitted values of GNARfit objects

fitted.GNARfit returns the fitted values of a GNARfit object as a matrix.

## S3 method for class 'GNARfit' fitted(object,...)

Arguments

  • object: the output of a GNARfit call
  • ...: additional arguments, unused here.

Details

S3 method for class "GNARfit".

Returns

fitted.GNARfit returns a ts object of fitted values, with t-alphaOrder rows and nnodes columns.

Examples

#get the fitted values of the fiveNode GNAR fit fitted(GNARfit())
  • Maintainer: Matt Nunes
  • License: GPL-2
  • Last published: 2024-10-02

Useful links