From ligges at statistik.tu-dortmund.de  Wed Mar 27 18:15:37 2013
From: ligges at statistik.tu-dortmund.de (Uwe Ligges)
Date: Wed, 27 Mar 2013 18:15:37 +0100
Subject: [Rd] mean.data.frame: R 3.0.0 help page wrong?
In-Reply-To: <64E3A5BD-9070-4982-B548-69F18480C064@comcast.net>
References: <64E3A5BD-9070-4982-B548-69F18480C064@comcast.net>
Message-ID: <51532939.8000005@statistik.tu-dortmund.de>



On 27.03.2013 05:07, David Winsemius wrote:
>
> The help page for mean still says there is a method for data.frame although this has been deprecated for several versions and in R 3.0.0 beta I get:
>
>   mean(data.frame(x=rnorm(10), y=rnorm(10))  )
> [1] NA
> Warning message:
> In mean.default(data.frame(x = rnorm(10), y = rnorm(10))) :
>    argument is not numeric or logical: returning NA
>
> I read in news():
>
> o   mean() for data frames and sd() for data frames and matrices are
> 	defunct.
>
>
> Shouldn't the help page be amended?

Has been amended this morning by Martin Maechler, although I do not see 
a reply.

Best,
Uwe



[Rd] mean.data.frame: R 3.0.0 help page wrong?
Uwe Ligges