Re: [Rd] Column(row)wise minimum and maximum

From: oliver <oliver_at_first.in-berlin.de>
Date: Thu, 19 Apr 2012 20:34:13 +0200

On Thu, Apr 19, 2012 at 08:31:56PM +0200, oliver wrote:
> On Thu, Apr 19, 2012 at 06:12:30PM +0000, Ravi Varadhan wrote:
> > Hi,
> >
> > Currently, the "base" has colSums, colMeans. It seems that it would be
> > useful to extend this to also include colMin, colMax (of course, rowMin and
> > rowMax, as well) in order to facilitate faster computations for large vectors
> > (compared to using apply). Has this been considered before? Please forgive me
> > if this has already been discussed before.
> [...]
>
> Not sure if the performance of apply is so much of a problem,
> but also from a view of consistency of the provided
> functions, I think offering such functions would make
> it more clear and consitent to use R here, because
> all those functions are then available for row and col
> and the functionality is appended in the name (Mean, Sum etc.).
>
> I think the basic things that should be available woud be:
>
> - mean
> - median
> - min
> - max
> - var
> - sd

Ciao,

   Oliver



R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Thu 19 Apr 2012 - 18:36:05 GMT

This quarter's messages: by month, or sorted: [ by date ] [ by thread ] [ by subject ] [ by author ]

All messages

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Thu 19 Apr 2012 - 20:00:47 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.

list of date sections of archive