Learn R Programming

tsDyn (version 0.7-60)

oneStep: oneStep

Description

Doing one step forward within a NLAR model

Usage

oneStep(object, newdata, ...)

Arguments

object
fitted nlar object
newdata
data from which to step forward
...
further arguments to be passed to and from other methods

Value

  • Computed value(s)

Details

If in object is encapsulated the NLAR map, say, F(X[t], X[t-d], ..., X[t-(m-1)d]), this function should return the value of F (with already fitted parameters) applied to given new data, which can be a single vector of length m or a matrix with m columns.

Examples

Run this code
tsDyn:::oneStep.linear

Run the code above in your browser using DataLab