plot.DBEST {DBEST}R Documentation

Methods for objects of class "DBEST".

Description

Plot methods for objects of class "DBEST".

Usage

## 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

## 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)

[Package DBEST version 1.8 Index]