After creating a CausalMBSTS class object with CausalMBSTS() I wanted to create a plot with the counterfactuals usingplot(causal_asu, int.date = int.date, horizon = horizon, type = "forecast"). However, I get an uninformative (at least to me) error message:
plot(causal_asu, int.date = int.date, horizon = horizon, type = "forecast")
Error in start:(end - 1) : argument of length 0
The same message for type = "impact"
I followed the "working example' from the CRAN website.
Data: A panel data set, converted from long to wide, with 5 y variables and 2 x variables
After creating a CausalMBSTS class object with CausalMBSTS() I wanted to create a plot with the counterfactuals using
plot(causal_asu, int.date = int.date, horizon = horizon, type = "forecast")
. However, I get an uninformative (at least to me) error message:The same message for type = "impact" I followed the "working example' from the CRAN website. Data: A panel data set, converted from long to wide, with 5 y variables and 2 x variables