Methods for objects of class "DBEST".

Share:

Description

Plot methods for objects of class "DBEST".

Usage

1
2
## S3 method for class 'DBEST'
plot(x, figure = 1, ...)

Arguments

x

DBEST object.

figure

If omitted, the plot function displays 'figure 1' and 'figure 2'. If this option is set to 1, the plot function will display the input data and the estimated trend, plus the trend local change (figure 1). If this option is set to 2, the plot function will display a graph with the decomposition of the time-series, including the actual data, the trend, the seasonal component and the remainder.

...

further arguments passed to the plot function.

Author(s)

Hristo Tomov

See Also

See also as DBEST

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## Not run: 
# Display figure 1 - the input data and the estimated trend, plus the trend local change.
plot(DBEST.obj, figure=1)

# Display figure 2 - the decomposition of the time-series, including the actual data, 
# the trend, the seasonal component and the remainder.
plot(DBEST.obj, figure=2)


## End(Not run)