undirected_to_directed | R Documentation |
duplicating rows while inverting origin and destination identifiers.
undirected_to_directed(
dat,
origin = "unit1",
destination = "unit2",
time = NULL
)
dat |
directed dyadic dataset (data.frame) |
origin |
name of origin id column (character) |
destination |
name of destination id column (character) |
time |
name of the time variable (optional) (character) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.