Dear all,

I have the following list, "aa", composed of two 3*3 tables.  I would like 
to use "apply" function to summarize it, but "apply" cannot handle "list".  
I want to do it without using any interation.

1. Is there any function like "apply" for list?
2. Is there any way to transform that "list" to a 2*3*3 "array"?

thanks

cahn

-----------------------------------------
>aa
[[1]]
     [,1] [,2] [,3]
[1,]    1    3    1
[2,]    2    0    1
[3,]    1    1    0

[[2]]
     [,1] [,2] [,3]
[1,]    1    3    1
[2,]    2    0    1
[3,]    1    1    0


I would like to avoid any iteration



-------------------------------------------------
Ahn, Chaehyung (cahn) Ph.D.
Alpha-Gamma Technologies Inc.
My Home: http://blog.naver.com/cahn88

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to