mutilate | R Documentation |
Remove edges adjacent to set of vertices
mutilate(graph, A, B, etype, dir = 0L, internal = FALSE)
graph |
a |
A , B |
sets of vertices in |
etype |
which edges to remove |
dir |
indicates whether only edges of certain orientation are removed |
internal |
logical: should only edges within |
If no edge type is specified, then all edges are removed.
If dir=1
, then directed edges out of A
are removed,
but ones into A
are preserved; for dir=-1
the reverse,
and for dir=0
(the default), direction is irrelevant.
If a second set B
is specified, then all edges between A
and B
are removed.
Note that specifying internal=TRUE
and providing a set B
will
result in an error.
Note that specifying internal=TRUE
and providing a set B
will
result in an error.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.