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
Problem could be that you aren't specifying end = c(yyyy,mm).
If you are using decompose, you don't need to specify the end = . If you are switching to stl and using some old code, you'll need to add this parameter (if you weren't using it with decompose).
This fixed the "univariate" error issue for me.