I\'m have issues with stl() time series decomposition function in R telling me my ts object is not univariate when it actually is?
tsData <- ts(data = dum
I had the same problem and this is how I fixed it:
stl(x[,1], s.window = "periodic"