withAdjMatrix | R Documentation |
Change edge representation of (part of) graph to use adjMatrix
,
adjList
, eList
or edgeMatrix
formats.
withAdjMatrix(graph, edges, sparse = FALSE, force = FALSE)
withAdjList(graph, edges, force = FALSE)
withEdgeMatrix(graph, edges, force = FALSE)
withEdgeList(graph, edges, force = FALSE)
graph |
an object of class |
edges |
character vector of edge types to change, defaults to all |
sparse |
logical: should sparse matrices be used? |
force |
logical: should edge sets be added when named? |
withAdjList()
: Change to adjList
format
withEdgeMatrix()
: Change to edgeMatrix
format
withEdgeList()
: Change to eList
format
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.