| remove_arcs | R Documentation |
The same operation as remove_ties(), with one extra guarantee: the
network must already be directed, so a from/to pair names one arc and
not both orientations. Removing an arc from an undirected network raises a
condition of class dynet_needs_directed.
remove_arcs(
dn,
ties = NULL,
from = NULL,
to = NULL,
start = NULL,
end = NULL,
session = NULL
)
dn |
A temporal network from |
ties |
Which ties to remove: a condition on the spell table,
evaluated the way |
from, to, start, end, session |
Optional selectors combined by conjunction.
|
A new directed dynet object without the matched spells, with the
same structure as the input.
remove_ties(), which does not require a directed network.
dn <- dynet(data.frame(
from = c("A", "B"), to = c("B", "C"),
start = c(0, 1), end = c(1, 2)
))
remove_arcs(dn, ties = 1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.