From hadley at rice.edu  Wed Feb 16 16:31:43 2011
From: hadley at rice.edu (Hadley Wickham)
Date: Wed, 16 Feb 2011 15:31:43 +0000
Subject: [Rd] matrixStats: Extend to arrays too (Was: Re: Suggestion:
 Adding quick rowMin and rowMax functions to base package)
In-Reply-To: <yajfk4h0rq60.fsf@gmail.com>
References: <AANLkTikh_y74ny=Lt0Vm-tM8tj2EKNgyB3Vaup-e2De2@mail.gmail.com>
	<yajfk4h0rq60.fsf@gmail.com>
Message-ID: <AANLkTina14Jjri3E0KOd91E1CT1_ivxCUaXZPBg4wWZA@mail.gmail.com>

On Wed, Feb 16, 2011 at 2:48 PM, Tim Hesterberg <timhesterberg at gmail.com> wrote:
> For consistency with rowSums colSums rowMeans etc., the names should be
> ? ? ? ?colMins colMaxs
> ? ? ? ?rowMins rowMaxs
> This is also consistent with S+.

You mean rowMaxes, right?  Or is the rule to add an s, not to pluralise?

I think if you were writing a new package, you'd be better off a whole
new naming convention that extended better to higher dimensions.

Hadley

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



[Rd] matrixStats: Extend to arrays too (Was: Re: Suggestion: Adding quick rowMin and rowMax functions to base package)
Hadley Wickham