zhengxin at mail.nih.gov
2009-May-29 16:50 UTC
[Rd] 'mean' is not reverted in median() as NEWS says (PR#13731)
Full_Name: Version: 2.9.0 OS: windows, linux Submission from: (NULL) (128.231.21.125) In NEWS, it says "median.default() was altered in 2.8.1 to use sum() rather than mean(), although it was still documented to use mean(). This caused problems for POSIXt objects, for which mean() but not sum() makes sense, so the change has been reverted." But it's not reverted yet.
Peter Dalgaard
2009-May-29 17:05 UTC
[Rd] 'mean' is not reverted in median() as NEWS says (PR#13731)
zhengxin at mail.nih.gov wrote:> Full_Name: > Version: 2.9.0 > OS: windows, linux > Submission from: (NULL) (128.231.21.125) > > > In NEWS, it says "median.default() was altered in 2.8.1 to use sum() rather > than mean(), although it was still documented to use mean(). > This caused problems for POSIXt objects, for which mean() but > not sum() makes sense, so the change has been reverted." > > But it's not reverted yet.That text is not in the NEWS file for 2.9.0. And the NEWS file that it is in is not for 2.9.0, and does not list that change under "CHANGES IN R VERSION 2.9.0". -- 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