print.TSestModel: Display TSmodel Arrays

Description Usage Arguments Value Side Effects Note See Also Examples

View source: R/dse1.R

Description

Display TSmodel arrays.

Usage

1
2
3
4
5
6
7
    ## 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

print, summary

Examples

1
2
3
4
5
6
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 documentation built on March 4, 2020, 3:01 a.m.