Closed AlexSiormpas closed 3 years ago
A space should be fine (although it's better to avoid for readability), but there might be yet another special character (a tab or similar?) that causes this. Sticking to column names that are also valid variable names in R will solve the issue.
I apply casual impact with the following code
impact <- CausalImpact(SynthTS, pre.period, post.period, model.args = list(niter = 5000, nseasons = 7, season.duration = 1, dynamic.regression=FALSE))
but I hit the following error:
For debugging my SynthTS is a zoo object:
Can it be an issue that my column names have a space inside?