[Rd] bug (PR#13570)

Peter Dalgaard p.dalgaard at biostat.ku.dk
Thu Mar 5 09:09:27 CET 2009


rhafen at stat.purdue.edu wrote:
> <<insert bug report here>>
> 
> This is a CRITICAL bug!!!  I have verified it in R 2.8.1 for mac and  
> for windows.  The problem is with loess degree=0 smoothing.  For  
> example, try the following:
> 
> x <- 1:100
> y <- rnorm(100)
> plot(x, y)
> lines(predict(loess(y ~ x, degree=0, span=0.5)))
> 
> This is obviously wrong.

Obvious? How? I don't see anything particularly odd (on Linux).

> 
> R 2.8
> 
> --please do not edit the information below--
> 
> Version:
>   platform = i386-apple-darwin8.11.1
>   arch = i386
>   os = darwin8.11.1
>   system = i386, darwin8.11.1
>   status =
>   major = 2
>   minor = 8.1
>   year = 2008
>   month = 12
>   day = 22
>   svn rev = 47281
>   language = R
>   version.string = R version 2.8.1 (2008-12-22)
> 
> GUI:
>   R-GUI 1.27 (5301)
> 
> Locale:
> en_US.UTF-8/en_US.UTF-8/C/C/en_US.UTF-8/en_US.UTF-8
> 
> Search Path:
>   .GlobalEnv, tools:RGUI, package:stats, package:graphics,  
> package:grDevices, package:utils, package:datasets, package:Rutils,  
> package:methods, Autoloads, package:base
> 
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel


-- 
    O__  ---- Peter Dalgaard             Øster Farimagsgade 5, Entr.B
   c/ /'_ --- Dept. of Biostatistics     PO Box 2099, 1014 Cph. K
  (*) \(*) -- University of Copenhagen   Denmark      Ph:  (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)              FAX: (+45) 35327907



More information about the R-devel mailing list