Hi, I am using the function plot.network from the network library. However, I noticed that every time when I use the function I get a different layout (the network is rotated?). I would like to get the exact same picture every time when I use the function. Is that possible (maybe set a seed or some layout parameters?)? How? Here is an example:
n<-6 dat <- rbinom(n*(n-1)/2,1,.6) net<-diag(n) net[lower.tri(net)] <- dat net[upper.tri(net)] <- t( net )[upper.tri(net)] net #the network library(network) g<-network(net,directed=FALSE) plot.network(g) and if I run plot.network(g) again, I get the same network (dah!) but rotated. Any suggestions? Thank you, Despina [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.