mixedgraph | R Documentation |
Construct a mixed graph
mixedgraph(n, v = seq_len(n), edges = list(), vnames, vtype)
n |
integer number of vertices in graph |
v |
integer identifiers of vertices (length |
edges |
named list of types of edge in graph |
vnames |
character vector of vertex names (defaults to |
vtype |
optionally, a character vector of vertex types |
Currently row/column names on adjacency matrices are dropped. Might be useful to change this functionality in the future if they match (or can replace) vertex names.
graphCr
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.