For consistency with rowSums colSums rowMeans etc., the names should be
colMins colMaxs
rowMins rowMaxs
This is also consistent with S+.
FYI, the rowSums naming convention was chosen to avoid conflict
with rowsum (which computes column sums!).
Tim Hesterberg
A well-designed API
On Wed, Feb 16, 2011 at 2:48 PM, Tim Hesterberg timhesterb...@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
-Original Message-
From: r-devel-boun...@r-project.org
[mailto:r-devel-boun...@r-project.org] On Behalf Of Hadley Wickham
Sent: Wednesday, February 16, 2011 7:32 AM
To: Tim Hesterberg
Cc: Henrik Bengtsson; r-devel@r-project.org
Subject: Re: [Rd] matrixStats: Extend to arrays too
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
-Original Message-
From: h.wick...@gmail.com [mailto:h.wick...@gmail.com] On
Behalf Of Hadley Wickham
Sent: Wednesday, February 16, 2011 9:21 AM
To: William Dunlap
Cc: Tim Hesterberg; Henrik Bengtsson; r-devel@r-project.org
Subject: Re: [Rd] matrixStats: Extend to arrays too (Was:
Hi.
On Sun, Feb 13, 2011 at 10:18 AM, TakeoKatsuki takeo.kats...@gmail.com wrote:
Hi Henrik,
It would be nice if functions of the matrixStats package can handle array
data.
For example, rowSums() of the base package sums along the third axis of an
array by rowSums(x, dim=2).
That is a