Learn R Programming

dse (version R2000.6-1)

tfplot: Time Series Plots

Description

Plot actual data and one-step ahead predictions for one or multiple models.

Usage

tfplot(..., start.=start(TSdata(model)),end.=end(TSdata(model)),
    select.inputs=NULL, select.outputs=NULL, graphs.per.page=5)

Arguments

model
Objects of class TSestModel or TSdata.
start.
The start of the plot.
end.
The end of the plot.
select.inputs
select.outputs
graphs.per.page
Sets the number of graphs to plot per page.

Value

  • No returned value.

Details

If the arguments are of class TSdata then the input and output data are plotted (subject to select.inputs and select.outputs). If the arguments are of class TSestModel then model one step ahead predictions are also plotted. Use dev.ask(T) to pause plotting between pages.

Examples

Run this code
if(is.R()) data("eg1.DSE.data.diff", package="dse1")
tfplot(eg1.DSE.data.diff)
model <- est.VARX.ls(eg1.DSE.data.diff)
tfplot(model)

Run the code above in your browser using DataLab