[R] Bug in DEMA (Moving Average smoothing algoritm) ?

Ralf B ralf.bierig at gmail.com
Mon May 10 21:58:47 CEST 2010


When running DEMA(data, 5) on a vector 'data' of length 5, my R engine
stops. Is this function or the R environment facing a bug here or am I
doing something wrong? DEMA should work if the smoothing window size
is the same size as the the data length, right?

(I am working with Eclipse 3.5. and the StatET environment.)

Ralf



More information about the R-help mailing list