Error in decompose function

The STL argument is the name of a column in your data set. See 3.6 STL decomposition | Forecasting: Principles and Practice (3rd ed) for examples

2 Likes