[R] how to find best model of time series?giving error
bhh at xs4all.nl
Wed Mar 14 11:01:27 CET 2012
On 14-03-2012, at 07:22, sagarnikam123 wrote:
> yes but giving error
> Hit <Return> to see next plot:
> Error in decompose(ts(x[1L:wind], start = start(x), frequency = f),
> seasonal) :
> time series has no or less than 2 periods
> what should i do?
Read HoltWinters help thoroughly.
Your timeseries should have a frequency > 1.
So how about t <- ts(t, start=??, frequency=4)
More information about the R-help