I have weekly time series data having 35 weeks starting from 2016-10-17 and would like to see decompose plot. However decompose plot throws error saying less than two periods which i guess needs two or more years of data.
a <- ts(1:35,frequency = 52,start = c(2016,41))
plot(decompose(a))
Error in decompose(a) : time series has no or less than 2 periods
Does ts function works only if there is 2 years of data or more or is there any work around? Is there any other way to see the plots?