Network Diagram in R Posted on 2014-08-05 by mike library(network) m <- matrix(rbinom(1000,1,.4),15,5) diag(m) <- 0 g <- network(m, directed=FALSE) summary(g) plot(g)