[R] function over variables in a list

mdgi at gmx.ch mdgi at gmx.ch
Fri Nov 2 10:31:24 CET 2007


Hello R-users

I nowhere red in tutorials neither in r-help how to access one variable in multiple list objects.

p.e i have list of 50

Length       Class      Mode
 [1,] 16     data.frame list

and i want to check for the max in column 16 of all list objects:

I tried

max(mylist[[]][,16]) or max(mylist[[1:50]][,16])

suggestions?

Thanks a lot for your help

Marc
-- 
Psssst! Schon vom neuen GMX MultiMessenger gehört?
Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger



More information about the R-help mailing list