The R package disaggR is an implementation of the French Quarterly National Accounts method for temporal disaggregation of time-series. twoStepsBenchmark()
bends a time-serie with another one of a lower frequency.
You can install the stable version from CRAN.
You can install the development version from Github.
library(disaggR)
library(ggplot2)
benchmark <- twoStepsBenchmark(hfserie = turnover,
lfserie = construction,
include.differenciation = TRUE)
as.ts(benchmark)
coef(benchmark)
summary(benchmark)
autoplot(benchmark)
autoplot(in_sample(benchmark))