Re: [Rd] names of return value of median

2008-08-21 Thread Martin Maechler
> "VO" == Vadim Organovich <[EMAIL PROTECTED]> > on Wed, 20 Aug 2008 12:30:38 -0500 writes: VO> Dear R-devel, VO> The median() function assigns a name, "NA", to its return value if the return value is NA and the input vector has names, otherwise the names attribute is NULL. T

[Rd] names of return value of median

2008-08-20 Thread Vadim Organovich
Dear R-devel, The median() function assigns a name, "NA", to its return value if the return value is NA and the input vector has names, otherwise the names attribute is NULL. This looks strange and inconsistent with the behavior of mean(). This inconsistency becomes a problem when median() is u