Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
私はRを初めて使用し、現在ソーシャルネットワークで作業中に立ち往生しています。パッケージ igraph を使用してネットワークを作成しています。私がプロットを呼び出す方法は次のとおりです。
plot(k, layout=layout.fruchterman.reingold, vertex.label=V(k)$Rank)
頂点に複数のラベルを付けることは可能ですか?
貼り付けを使用して、ラベルを連結できます。ここでは、ダミーのラベルを選択します。
labe is lower letter:UPPER LETTER library(igraph) g <- graph.ring(5) V(g)$size <- 100 V(g)$label=paste(letters[1:5],LETTERS[1:5],sep=':') V(g)$label.cex <- 2 plot(g)