addV | R Documentation |
Add a vertex to the data frame for vertices.
addV(df, id, name)
df |
Data frame for vertices. |
id |
Integer (numerical identifier of vertex). |
name |
Name of grammar symbol of of vertex. |
A Data frame for vertices.
Other Data frames for igraph:
addE()
,
newE()
,
newV()
df<-addV(newV(), 1, "<fe>")
print(df)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.