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

print.TSestModel

Display TSmodel Arrays


Description

Display TSmodel arrays.

Usage

## S3 method for class 'SS'
print(x, digits=options()$digits, latex=FALSE, ...)
    ## S3 method for class 'ARMA'
print(x, digits=options()$digits, latex=FALSE, L=TRUE, fuzz=1e-10, ...)
    ## S3 method for class 'TSestModel'
print(x, ...)

Arguments

x

An object of class TSmodel or TSestModel.

digits

the number of significant digits

L

logical if TRUE then ARMA model arrays are displayed as a polynomial matrix with L indicating lags. Otherwise, each lag in the array is displayed as a matrix.

latex

logical. If TRUE additional context is added to make the output suitable for inclusion in a latex document.

fuzz

ARMA model polynomial elements with absolute value less than fuzz are not displayed (i.e.-as if they are zero)

...

arguments passed to other methods.

Value

The object is returned invisibly.

Side Effects

The model arrays are displayed.

Note

BUG: digits cannot be controlled for some numbers (e.g.- 1.0 is printed as 0.9999999999)

See Also

Examples

data("eg1.DSE.data.diff", package="dse")
model <- estVARXls(eg1.DSE.data.diff)
print(model)
print(model, digits=3)
print(model, digits=3, fuzz=0.001)
print(model, digits=3, fuzz=0.001, latex=TRUE)

dse

Dynamic Systems Estimation (Time Series Package)

v2020.2-1
GPL-2
Authors
Paul Gilbert <pgilbert.ttv9z@ncf.ca>
Initial release

We don't support your browser anymore

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