fitted.GNARfit {GNAR}R Documentation

Function to return fitted values of GNARfit objects

Description

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

Usage

## 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".

Value

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())

[Package GNAR version 1.1.3 Index]