I have an igraph object:
d <- graph(sapply(1:16, function(i) {
rbind(i, ((i+1):(i+3)-1) %% 16 + 1)
}))
I would like to plot only the out going edges of this graph using plot()
I haven't been able to figure out how to do this.
Can anyone help?
您可以使用以下R代码,通过degree.distribution
绘制出学位:
plot(degree.distribution(d,mode="out"))
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.