Too few periods for decompose()

the error looks like this

decompose(samplets)
Error in decompose(samplets) : time series has no or less than 2 periods

i want to know whats the problem? I am basically writing a code forecasting using ARIMA and i want to knoe if there is any seasonality or trend in my data.

Hoping for a quick resonse!!!!!

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)