FMenchetti / CausalMBSTS

16 stars 0 forks source link

Uniformative error message #48

Open schneiderpy opened 7 months ago

schneiderpy commented 7 months ago

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

schneiderpy commented 7 months ago

I have solved this issue ..