in_revisions {disaggR} | R Documentation |
Comparing two disaggregations together
Description
The function in_revisions
takes two inputs, twoStepsBenchmark or a
threeRuleSmooth, and produces a comparison between those.
Usage
in_revisions(object, object_old, type = "changes")
Arguments
object |
an object of class |
object_old |
an object of class |
type |
|
Details
The functions plot
and autoplot
can be used on this object to produce
graphics.
Value
a named matrix time series of two columns, one for the response and the other
for the predicted value.
A tscomparison
class is added to the object.
See Also
in_sample in_disaggr in_scatter plot.tscomparison
Examples
benchmark <- twoStepsBenchmark(turnover,construction,include.rho = TRUE)
benchmark2 <- twoStepsBenchmark(turnover,construction,include.differenciation = TRUE)
plot(in_revisions(benchmark,benchmark2))
[Package disaggR version 1.0.5.3 Index]