fitted.GNARfit: Function to return fitted values of GNARfit objects

Description Usage Arguments Details Value Examples

View source: R/fitted.GNARfit.R

Description

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

Usage

1
2
## 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

1
2
#get the fitted values of the fiveNode GNAR fit
fitted(GNARfit())

nunesmatt/GNAR documentation built on Oct. 29, 2019, 4:25 p.m.