[Rd] bug in loess (PR#611)

hdrees@statlab.uni-heidelberg.de hdrees@statlab.uni-heidelberg.de
Wed, 19 Jul 2000 17:47:05 +0200 (MET DST)

Full_Name: Holger Drees
Version: 1.0.0-1
OS: Windows NT 4.0/Linux Suse 6.3
Submission from: (NULL) (

After typing the commands

x <- seq(0,1,by=0.01)
y <- sin(6*x)+rnorm(101)
regtest <- loess(y~x,degree=1,surface="direct",family="symmetric")

regtest$fitted equals NULL. Moreover,




give different values, though both are supposed to give the vector of fitted
The latter is the same for both choices of family ("gaussian" and "symmetric").
This holds true for both the WINDOWS and LINUX SUSE 6.3 implementation. (Splus
yields the 
correct results.) This effect occurs only with the option surface="direct".

r-devel 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-devel-request@stat.math.ethz.ch