sort list of networks in R

Monday, May 5, 2014

I have a list of networks (x1) in R :



>x1

[[1]]
## 3 ( 0 discrete+ 3 ) nodes;score= -690.403792554056 ;relscore=
1 A continuous()
2 B continuous()
3 C continuous()

[[2]]
## 3 ( 0 discrete+ 3 ) nodes;score= 906.721123182749 ;relscore=
1 A continuous() 2
2 B continuous()
3 C continuous()

[[3]]
## 3 ( 0 discrete+ 3 ) nodes;score= 906.721123182626 ;relscore=
1 A continuous()
2 B continuous() 1
3 C continuous()

....etc


I want to sort these networks (decreasing) by score field , how can I do it ?


Thank you







http://ift.tt/1mwZZxb