| add_ties | R Documentation |
Add temporal ties
add_ties(dn, data, loops = FALSE)
dn |
A temporal network from |
data |
A nonempty data frame with |
loops |
Whether added self-loops are permitted. |
Added times use the existing network clock. A sessioned network requires an existing session label on every row; mutation does not create a new session scheme. Implicit observation support expands to include the new raw ties, while explicit observation support remains fixed. Added raw rows are interval-format tie identities even when the source was originally a contact, threaded, or co-presence log.
A new dynet object, of the same class and structure as the input.
The input is unchanged; canonical temporal ties and every flattened
cograph field are rebuilt together.
dn <- dynet(data.frame(
from = "A", to = "B", start = 0, end = 1
))
dn <- add_nodes(dn, "C")
add_ties(dn, data.frame(from = "B", to = "C", start = 1, end = 2))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.