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

Hadley Wickham hadley at rice.edu
Wed Feb 16 18:21:18 CET 2011


>> 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/



More information about the R-devel mailing list