It's normal for me to create a list of data.frames and then use
do.call('rbind', list(...)) to create a single data.frame. However,
I've noticed as the size of the list grows large, it is perhaps better
to do this in chunks. As an example here's a list of 20,000 similar
data.frames.
# creat
Hi Ravi,
rowMin and rowMax are available in the Biobase package (available from
BioConductor).
Best,
Holger
Original-Nachricht
> Datum: Thu, 19 Apr 2012 18:12:30 +
> Von: Ravi Varadhan
> An: "r-devel@r-project.org"
> Betreff: [Rd] Column(row)wise minimum and maximum
>
Hi,
On Thu, Apr 19, 2012 at 4:33 PM, Ravi Varadhan wrote:
> Thanks, Henrik, for the helpful response. Your package was helpful indeed!
>
> However, I would still like to see this in the base package.
For what it's worth, I think they'd be useful to have there, too.
-steve
>
> Ravi
>
> -Or
Thanks, Henrik, for the helpful response. Your package was helpful indeed!
However, I would still like to see this in the base package.
Ravi
-Original Message-
From: henrik.bengts...@gmail.com [mailto:henrik.bengts...@gmail.com] On Behalf
Of Henrik Bengtsson
Sent: Thursday, April 19,
S+ has such functions with a slightly different naming convention:
it puts an 's' after each function. E.g., colMaxs instead of your
colMax.
"colMaxs" "colMeans" "colMedians" "colMins" "colProds"
"colQuantiles" "colRanges""colStdevs""colSums" "colVars"
"ro
This is why the matrixStats package was created, cf.
http://cran.r-project.org/web/packages/matrixStats/
1. Yes, it would be nice to have them in one of the default packages.
2. We decided to focus on/constrain ourselves matrices in matrixStats.
We decided not to go into arrays with length(dim(.)
Oliver,
It is mainly a speed issue (and also compactness!), at least for me. Using
`apply' is so much slower. I agree with you that having column and row
operations available for "basic" stats operations in "base" would be great.
David - I am aware of capabilities in other packages, but I am
On Thu, Apr 19, 2012 at 08:31:56PM +0200, oliver wrote:
> On Thu, Apr 19, 2012 at 06:12:30PM +, 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
> > rowMa
On Thu, Apr 19, 2012 at 06:12:30PM +, 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 vec
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? Ple
On 18 April 2012 at 17:40, Nikolaos Bezirgiannidis wrote:
| Hi all,
|
| I am a PhD student and I am working on a C project that involves some
| statistical calculations. So, I tried to embed R into C, in order to
| call R functions from a C program. My program seems to get the correct
| r
Another potential problem with the xlim=c(5,NA) type of approach is
that if I am calculating the limits (as I often do) and have a bug
in my calculation, such that I get an NA for one of the limits,
then my plot would succeed rather than fail -- and succeed with
hard to predict results. This will m
Hi all,
I am a PhD student and I am working on a C project that involves some
statistical calculations. So, I tried to embed R into C, in order to
call R functions from a C program. My program seems to get the correct
results from R. However, it appears to have a lot of memory allocation
issu
13 matches
Mail list logo