Skip to content
Prev 312241 / 398513 Next

write out list of lists with names

Here is one way using capture.output and regular expressions
MU10
    MU.16     MU.19     MU.21      mean        sd 
0.8052791 0.4350489 0.4551954 0.5651744 0.2081806 
MU11
     MU.21      MU.22       mean         sd 
0.56061566 0.65200918 0.60631242 0.06462498 
MU12
    MU.14     MU.20     MU.23      mean        sd 
0.7726512 0.3925776 0.3822244 0.5158177 0.2224845 
MU13
    MU.20     MU.22      mean        sd 
0.3636058 0.2139613 0.2887835 0.1058146 
MU14
    MU.18      mean        sd 
0.3169202 0.3169202        NA 
MU15
    MU.18     MU.22      mean        sd 
0.5764542 0.8236923 0.7000733 0.1748237