Re: [R] need help please

2012-07-17 Thread arun
Hi Yolande, For your first error regaring factor, I am getting a single number thisIndex <- as.character(index(diveData_2008[2,])) > dive_id <- diveCond_all$dive_id[diveCond_all$timestamp==thisIndex] > dive_id [1] 1 #because there is only one TRUE value below and that refers to dive_id 1. diveC

[R] need help please (HoltWinters function)

2008-09-14 Thread jeff_lc
every time i try to run HoltWinters i get this error message: > HoltWinters(z, seasonal="additive") Error in decompose(ts(x[1:wind], start = start(x), frequency = f), seasonal) : time series has no or less than 3 periods what's going on? somebody please help me. -- View this message in conte