addE | R Documentation |
Adds the edges of the kids of a node to the edge list.
addE(df, from, to)
df |
Data frame for edges. |
from |
Integer (numerical identifier of vertex). |
to |
Vector of integers (numerical identifiers of kids of vertex). |
A Data frame for edges.
Other Data frames for igraph:
addV()
,
newE()
,
newV()
df<-addE(newE(), 1, c(2, 3, 4))
print(df)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.