Learn R Programming

dse (version 2020.2-1)

setTSmodelParameters: Set TSmodel Parameter Information

Description

Complete parameter vector information based on parameter array settings. This function is used internally and is not normally called by a user.

Usage

setTSmodelParameters(model, constants=model$constants)
    # S3 method for TSestModel
setTSmodelParameters(model, constants=TSmodel(model)$constants)
    # S3 method for ARMA
setTSmodelParameters(model, constants=model$constants)
    # S3 method for SS
setTSmodelParameters(model, constants=model$constants)

Arguments

model

An object of class TSmodel.

constants

A list of logical arrays indicating TRUE for any model array entries that should be treated as constants.

Value

An object of class 'TSmodel'.

See Also

setArrays

Examples

Run this code
# NOT RUN {
    data("eg1.DSE.data.diff", package="dse")
    model <- estVARXls(eg1.DSE.data.diff)
    model <- setTSmodelParameters(model)
# }

Run the code above in your browser using DataLab