make_edges_mixed | R Documentation |
This function creates a mixed network, meaning that some edges are directed, and some are undirected. In practice this is implemented as a directed network in which those edges that are meant to be undirected are duplicated and reversed.
make_edges_mixed(x, directed)
x |
An object of class |
directed |
An integer vector of edge indices specifying those edges that should be directed. |
A mixed network as object of class sfnetwork
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.