[R] apply a function to several lists' components

Taka Matzmoto sell_mirage_ne at hotmail.com
Fri Jun 30 16:50:51 CEST 2006

Dear R-user
I have 100 lists.
Each list has several components.
For example,

[1] 1 2

[1] 3 4

[1] 5

There are data1, data2,...., data100. All lists have the same number and the 
same name of components.

Is there any function I can use for applying to only a specific component 
across 100 lists?
(e.g.,  taking mean of $c acorss 100 lists) or do I need to write my own 
function for that?

Thank you.


More information about the R-help mailing list