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

David Winsemius dwinsemius at comcast.net
Wed Mar 27 05:07:19 CET 2013

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

Shouldn't the help page be amended?
David Winsemius
Alameda, CA, USA

More information about the R-devel mailing list