From hadley at rice.edu  Fri Apr 29 18:30:55 2011
From: hadley at rice.edu (Hadley Wickham)
Date: Fri, 29 Apr 2011 11:30:55 -0500
Subject: [Rd] median and data frames
In-Reply-To: <19898.51781.659704.798338@stat.math.ethz.ch>
References: <4DB85617.8090706@pburns.seanet.com>
	<BANLkTin6Cic0RhGdV_KWHcSz6JE5vj9igA@mail.gmail.com>
	<19898.51781.659704.798338@stat.math.ethz.ch>
Message-ID: <BANLkTinJWCnB9wXzsMoUojX1xot_Yq=5KQ@mail.gmail.com>

> My personal oppinion is that ?mean.data.frame() should never have
> been written.
> People should know, or learn, to use apply functions for such a
> task.
>
> The unfortunate fact that mean.data.frame() exists makes people
> think that median.data.frame() should too,
> and then
>
> ?var.data.frame()
> ? sd.data.frame()
> ?mad.data.frame()
> ?min.data.frame()
> ?max.data.frame()
> ?...
> ?...
>
> all just in order to *not* to have to know ?sapply()
> ????
>
> No, rather not.
>
> My vote is for deprecating ?mean.data.frame().

I totally agree!

Hadley

-- 
Assistant Professor / Dobelman Family Junior Chair
Department of Statistics / Rice University
http://had.co.nz/



[Rd] median and data frames
Hadley Wickham