Re: [R] Help with functions within a list

2009-03-20 Thread baptiste auguie
Agreed --- if you provided a working example it might be as simple as, library(reshape) recast(res, Id~Tick, fun="mean", id.var=c("Id", "Tick"), measure.var="X") which i had to test with this, res <- list(read.table(textConnection( "IdX Tick 1 2.2 1 2 3.1 1 1

Re: [R] Help with functions within a list

2009-03-20 Thread David Winsemius
I say again: Build a simple example; -- David Winsemius On Mar 20, 2009, at 1:00 PM, Altaweel, Mark R. wrote: I will try to be clearer with what I wanted. What I am trying to do is take a list, say defined as res, that has a size of 1000 For example: res[[1]] re

[R] Help with functions within a list

2009-03-20 Thread Altaweel, Mark R.
I will try to be clearer with what I wanted. What I am trying to do is take a list, say defined as res, that has a size of 1000 For example: res[[1]] res[[2]] .until res[[1000]] -- IdX Tick