Usage
## S3 method for class 'TSmodelEstEval':
tfplot(x, graph.args=NULL,
criterion ="coef", criterion.args=NULL, ...)
## S3 method for class 'TSestModelEstEval':
tfplot(x, graph.args=NULL,
criterion ="coef", criterion.args=NULL, ...)
## S3 method for class 'featherForecasts':
tfplot(x, tf=NULL, start=tfstart(tf), end=tfend(tf),
series=seq(nseries(x)),
Title="Predictions (dotted) and actual data (solid)",
ylab=seriesNamesOutput(x),
graphs.per.page=5, mar=par()$mar, reset.screen=TRUE, ...)
## S3 method for class 'forecast':
tfplot(x, tf=NULL, start=tfstart(tf), end=tfend(tf),
series = seq(length=nseriesOutput(x$data)),
Title="Predictions (dotted) and actual data (solid)",
ylab = seriesNamesOutput(x$data),
graphs.per.page=5, mar=par()$mar, reset.screen=TRUE, ...)
## S3 method for class 'EstEval':
tfplot(x, tf=NULL, start=tfstart(tf), end=tfend(tf),
truth= if(is.TSdata(x$truth)) outputData(x$truth) else x$truth,
series = seq(length=nseries(truth)),
Title="Estimated (and true) results",
ylab = seriesNames(truth), remove.mean = FALSE,
graphs.per.page=5, mar=par()$mar, reset.screen=TRUE, ...)
## S3 method for class 'horizonForecasts':
tfplot(x, tf=NULL, start=tfstart(tf), end=tfend(tf),
series=seq(length=nseriesOutput(x$data)),
Title="Predictions (dotted) and actual data (solid)",
ylab=seriesNamesOutput(x$data),
graphs.per.page=5, mar=par()$mar, reset.screen=TRUE, ...)
## S3 method for class 'multiModelHorizonForecasts':
tfplot(x,
tf=NULL, start=tfstart(tf), end=tfend(tf), series=NULL, ...)
Arguments
x
an object for which a tfplot is to be produced.
truth
true value which will be plotted along with estimates.
Title
string of characters to use for title.
remove.mean
logical indicating if means should be removed
before plotting results.
ylab
vector of strings for y axis labelling.
graphs.per.page
integer indicating number of graphs to place on a
page.
reset.screen
logical indicating if the plot window should be cleared
before starting.
series
integer or string indicating
the series which should be plotted.
mar
plot margins. See par
.
graph.args
list of graphics arguments eventually passed
to plot
. See par
.
criterion
criterion which should be used to extract something from
the object which will then be plotted. See EstEval
.
criterion.args
arguments to be passed to criterion
.
...
arguments passed to other methods.