[R] operation on a list

szhan@uoguelph.ca szhan at uoguelph.ca
Thu Dec 8 21:29:33 CET 2005


Hello, R Users,
I have a list (say listexp) of 10,000 elements, each of which consists of a
matrix (5X6). It likes:
$"a"
    trt1rep1    trt1rep2    trt2rep1    trt2rep2    ctlrep1    ctlrep2
[1,]   50        54         98         89            40         45
[2,]   60        65         76         79            34         43
[3,]   86        83         34         45            38         34
[4,]   67        78         88         98            45         41
[5,]   55        59         77         88            56         66
$"b"
   trt1rep1    trt1rep2    trt2rep1    trt2rep2    ctlrep1    ctlrep2
[1,]   55        54         88         86            42         40
[2,]   66        65         86         99            44         48
[3,]   80        86         44         55            38         44
[4,]   77        78         98         92            35         41
[5,]   50        53         87         88            46         56




More information about the R-help mailing list