[R] Graph in R with edge weights

2010-12-01 Thread arturs . onzuls
Can you please show code example, how to draw graph with some nodes and edges, but with weights. I only found here http://www.bioconductor.org/packages/release/bioc/vignettes/Rgraphviz/inst/doc/Rgraphviz.pdf- Using edge weights for labels, but... Here an example: library(graph);

Re: [R] Graph in R with edge weights

2010-12-01 Thread Ivan Alves
Hi Arthur, I was asking the same thing and came across the following (your need the sna library). http://students.washington.edu/mclarkso/documents/gplot%20Ver2.pdf Take a look at the edge.lwd and vertex.cex examples of the function gplot. You can use vectors for the different nodes. Kind