The function in_revisions
takes two inputs, twoStepsBenchmark or a
threeRuleSmooth, and produces a comparison between those.
Arguments
- object
an object of class
"twoStepsBenchmark"
or"threeRuleSmooth"
.- object_old
an object of class
"twoStepsBenchmark"
or"threeRuleSmooth"
.- type
"levels"
,"levels-rebased"
,"changes"
or"contributions"
. This defines the type of output.
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.
Examples
benchmark <- twoStepsBenchmark(turnover,construction,include.rho = TRUE)
benchmark2 <- twoStepsBenchmark(turnover,construction,include.differenciation = TRUE)
plot(in_revisions(benchmark,benchmark2))