2
#Here a plot between from and to column of data frame using qgraph
#We require the same using igraph functionality
if(!require(qgraph)){
install.packages(qgraph)
}else{
require(qgraph)
}
demo_adj <- data.frame(from=c(1,2,'B','X','Y','A'),to=c('A','B','A','Y','1','Y'))
qgraph(demo_adj)

如何使用 Igraph 绘制相同的关系以及如何在 Igraph 本身中使用图像而不是默认节点?

4

0 回答 0