coef.TSmodel {dse1} | R Documentation

## Extract Model Parameters

### Description

Set or extract coefficients (parameter values) of model objects.

### Usage

        ## S3 method for class 'TSmodel':
        coef(object, ...)
        ## S3 method for class 'TSestModel':
        coef(object, ...)
        coef(object) <- value
        ## Default S3 method:
        coef(object) <- value

### Arguments

`object` | An object of class TSmodel or TSestModel.
`value` | value to be assigned to object.
`...` | (further arguments, currently disregarded).

### Value

A vector of parameter values.

### Examples

        if(is.R()) data("eg1.DSE.data.diff", package="dse1")
        model <- estVARXls(eg1.DSE.data.diff)
        coef(model)
        coef(model) <- 0.1 + coef(model)

[Package Contents]