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
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
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
3 matches
Mail list logo