Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

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

GNAR

Methods for Fitting Network Time Series Models

v1.1.1
GPL-2
Authors
Kathryn Leeming [aut], Guy Nason [aut], Matt Nunes [aut, cre], Marina Knight [ctb]
Initial release
2020-11-10

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.