[R] bug in filter function

Mehmet Balcilar mbalcilar at hotmail.com
Sun Oct 31 16:33:31 CET 1999


I think filter function in ts library has a typo. Line 34 in filter.R
reads
if(NROW(init) != 1 && NROW(init) != nser)
I guess it should be
if(NCOL(init) != 1 && NCOL(init) != nser)

Please let me know, if I am wrong.

Mehmet Balcilar

______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list