在igraph中显示数据帧
我的数据帧被称为 p 等 我喜欢用IGRAPHE图显示受影响系统的边缘,边缘有文本显示受影响的系统和事件的数量 我这样做:在igraph中显示数据帧,r,igraph,R,Igraph,我的数据帧被称为 p 等 我喜欢用IGRAPHE图显示受影响系统的边缘,边缘有文本显示受影响的系统和事件的数量 我这样做: g <- graph.data.frame(p) plot.igraph(g) g这起作用了: g <- graph.data.frame(p) plot(g, layout = layout.fruchterman.reingold, vertex.label = V(g)$name) g这起作用了: g <- graph.data.frame(
g <- graph.data.frame(p)
plot.igraph(g)
g这起作用了:
g <- graph.data.frame(p)
plot(g, layout = layout.fruchterman.reingold, vertex.label = V(g)$name)
g这起作用了:
g <- graph.data.frame(p)
plot(g, layout = layout.fruchterman.reingold, vertex.label = V(g)$name)
g我会从这个资源开始,关注print.edge.attributes:@tcash21,我做了类似于g的事情,我得到了它,它的edge.labelI会从这个资源开始,关注print.edge.attributes:@tcash21,我做了类似于g的事情,我得到了它,它的edge.label