Hello I have a time series object which I created from the following code
Fechas<-Datos[,1]
dat<-Datos[,2:ncol(Datos)]
datTS<-timeSeries(dat,Fechas)
I am trying to do know basic arithmethic operations on it as the following
datTS[3708,1]*2
Error en e1 * e2 : argumento no-numérico para operador binario
> datTS2[3708,1]-datTS2[3707,1]
Error en datTS2[3708, 1] - datTS2[3707, 1] : positions slot do not match
Which is the correct way of doing this? Thank you
Felipe PArra
[[alternative HTML version deleted]]