[R] bug in filter function

Prof Brian D Ripley ripley at stats.ox.ac.uk
Sun Oct 31 17:16:24 CET 1999


On Sun, 31 Oct 1999, Mehmet Balcilar wrote:

> 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.

Thank you for the report. You are right, and this has been corrected for
the next release.

Please use R-bugs to report bugs: this ensures that we have a record and
helps us to keep track of progress on bugs.

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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