过去,我在获取 tkplot here中绘制的网络图坐标方面得到了一些帮助。现在我又被难住了。
这是新会话的输出。
> g <- graph.data.frame(edges, directed=T, vertices=vert)
> summary(g)
Vertices: 436
Edges: 1856
Directed: TRUE
No graph attributes.
Vertex attributes: name.
No edge attributes.
> tkplot(g, vertex.label=vert$label)
Loading required package: tcltk
Loading Tcl/Tk interface ... done
[1] 1
但是当我尝试这个时,我得到了错误:
> lay <- tkplot.getcoords(1)
Error in eval(expr, envir, enclos) : object 'tkp.1' not found
我确定这是由于我对该主题缺乏了解,但我错过了什么?
提前致谢