Plot or difference objects. See the generic descriptions.
# S3 method for TSFmodel
tframe(x) # S3 method for TSFmodel
tfplot(x, ..., tf=tfspan(x, ...), start=tfstart(tf), end=tfend(tf),
series = seq(nfactors(x)),
Title = "Model factors",
lty = 1:5, lwd = 1, pch = NULL, col = 1:6, cex = NULL,
xlab = NULL, ylab = factorNames(x), xlim = NULL, ylim = NULL,
graphs.per.page = 5,
par = NULL, reset.screen = TRUE)
# S3 method for TSFfactors
tfplot(x,..., tf=tfspan(x, ...), start=tfstart(tf), end=tfend(tf),
series=seq(nfactors(x)),
Title="Estimated factors (dashed) and true (solid)",
lty = c("dashed", "solid"), lwd = 1, pch = NULL, col = 1:6, cex = NULL,
xlab=NULL, ylab=factorNames(x), xlim = NULL, ylim = NULL,
graphs.per.page=5, par=NULL, reset.screen=TRUE)
# S3 method for TSFexplained
tfplot(x,..., tf=tfspan(x, ...), start=tfstart(tf), end=tfend(tf),
series=seq(nseries(x)),
Title="Explained (dashed) and actual data (solid)",
lty = c("dashed", "solid"), lwd = 1, pch = NULL, col = 1:6, cex = NULL,
xlab=NULL,
ylab=seriesNames(x),
xlim = NULL, ylim = NULL,
graphs.per.page=5, par=NULL, reset.screen=TRUE)
# S3 method for TSFmodelEstEval
tfplot(x, ..., tf=NULL, start=tfstart(tf), end=tfend(tf),
series=seq(nseries(factors(x))),
Title="Monte Carlo Results",
lty = c("solid", "dotdash", "dashed", "dashed"), lwd = 1, pch = NULL,
col = c("black", "red", "red", "red"), cex = NULL,
xlab=NULL,
ylab=seriesNames(factors(x$truth)),
xlim = NULL, ylim = NULL,
graphs.per.page=5, par=NULL, reset.screen=TRUE,
diff.=FALSE, percentChange.=FALSE,
PCcentered.=FALSE, summary.=TRUE)
# S3 method for TSFmodel
diff(x, ...)
# S3 method for TSFexplained
diff(x, ...)
# S3 method for TSFfactors
diff(x, ...)
# S3 method for factorsEstEval
diff(x, ...)
an object.
a TSFmodel, TSFestModel, TSFexplained, or TSFfactors object for plotting or differencing.
logical indicating if differenced data should be plotted.
logical indicating if percent change data should be plotted.
logical indicating if centered percent change data should be plotted.
logical indicating if mean and 1 SD bounds should be plotted in place of all estimates.
See generic tfplot method
See generic tfplot method
See generic tfplot method
See generic tfplot method
string to use for title of factors plot (but see details).
See generic tfplot method
See generic tfplot method
See generic tfplot method
See generic tfplot method
See generic tfplot method
See generic tfplot method
See generic tfplot method
See generic tfplot method
See generic tfplot method
See generic tfplot method
See generic tfplot method
See generic tfplot method
other objects to plot (currently unused).
diff returns an object in which the time series data has been differenced. tfplot returns an invisible value but is executed mainly for the side-effect (plot).
The Title
is not put on the plot if the global option
PlotTitles is FALSE. This can be set with options(PlotTitles=FALSE)
.
This provides a convenient mechanism to omit all titles when the title
may be added separately (e.g. in Latex).
TSFmodel
,
estTSF.ML
,
simulate.TSFmodel
,
tfplot
,
diff
,
factors
,
explained
,
factorNames
,
TSFmodel