From hadley at rice.edu  Wed Feb 16 18:21:18 2011
From: hadley at rice.edu (Hadley Wickham)
Date: Wed, 16 Feb 2011 11:21:18 -0600
Subject: [Rd] matrixStats: Extend to arrays too (Was: Re: Suggestion:
 Adding quick rowMin and rowMax functions to base package)
In-Reply-To: <77EB52C6DD32BA4D87471DCD70C8D70003E62D73@NA-PA-VBE03.na.tibco.com>
References: <AANLkTikh_y74ny=Lt0Vm-tM8tj2EKNgyB3Vaup-e2De2@mail.gmail.com>
	<yajfk4h0rq60.fsf@gmail.com>
	<AANLkTina14Jjri3E0KOd91E1CT1_ivxCUaXZPBg4wWZA@mail.gmail.com>
	<77EB52C6DD32BA4D87471DCD70C8D70003E62D73@NA-PA-VBE03.na.tibco.com>
Message-ID: <AANLkTik25g6RsvGmXJqFtocoGKmUVgrhQd-CTQrCv7ce@mail.gmail.com>

>> You mean rowMaxes, right? ?Or is the rule to add an s, not to
>> pluralise?
>
> In S+ we chose to just append the 's' instead of making
> everyone worry about the vagarities of English spelling
> and pluralization rules. ?We also have 'groupAnys' and
> 'igroupAnys' (and should have {row,col}Anys, but we don't).

I think that's the strongest argument for sticking with singular nouns
for function names - English pluralisations are complex and arbitrary,
but just adding an s is going to look horrible for any native speaker.

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