Learn R Programming

GNAR (version 1.1.4)

fitted.GNARfit: 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 GNARfit
fitted(object,...)

Value

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

Arguments

object

the output of a GNARfit call

...

additional arguments, unused here.

Details

S3 method for class "GNARfit".

Examples

Run this code
#get the fitted values of the fiveNode GNAR fit
fitted(GNARfit())

Run the code above in your browser using DataLab