I would like to decompose a time series. It contains of weekly data for 8 years.
I need it to be decomposed so I can look at it without the seasonality or trend but I just started with R and have no idea what to do. I tried it like that:
Data_Components <- decompose(Data)
but if I do so R tells me, that my time series has none or less than two periods.
I loaded the data from an excel file. Maybe I did something wrong there? How do I have to put the data in my excel file so R knows it is an time series with 416 weeks?
Thanks in advance for your help!