add_vertex | R Documentation |
Add vertices
add_vertex(x, ...) add_vertices(x, ...) ## S3 method for class 'datagraph' add_vertex(x, vertex) ## S3 method for class 'character' add_vertex(x, graph, from = NULL, to = NULL, ...) ## S3 method for class 'data.table' add_vertex(x, graph) ## S3 method for class 'list' add_vertex(x, graph) ## S3 method for class 'datagraph' add_vertices(x, vertices) ## S3 method for class 'data.table' add_vertices(x, graph)
x |
see the S3 methods |
... |
args passed to the S3 methods |
vertex |
id of a vertex |
graph |
datagraph object |
from |
vector of vertices to connect from |
to |
vector of vertices to connect from |
vertices |
vector of new ids |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.