Learn R Programming

dynmix (version 2.1)

print.tvpreg: Prints tvpreg Object.

Description

The function prints selected outcomes obtained from object tvpreg.

Usage

# S3 method for tvpreg
print(x, ...)

Arguments

x

an object of tvpreg class

...

not used

Details

The function prints the general structure of the model, i.e., names of predictors. It also prints the number of observations (length of time-series) and the regression coefficients as estimated in the last period.

Examples

Run this code
data(oil)
t1<- tvp.reg(y=oil[,1,drop=FALSE],x=oil[,-1,drop=FALSE],lambda=0.99,V=100,W=100)
print(t1)

Run the code above in your browser using DataLab