Description Usage Arguments Value See Also
Takes a network, and returns a dataframe containing its edges. The first to columns are from and to nodes, the third column is the name of the edge, i.e. a string in the form "A->B" or "A–B", depending on whether or not the edge is directed. The first two columns correspond to the output of arcs, undirected.arcs, and directed.arcs. In the case of an undirected arc, these functions will produce two rows in their output matrix, eg A–B has two rows "A, B", and "B, A". This function treats undirected arcs the same way.
1 | name_edge_df(net)
|
net |
object of class bn |
a dataframe corresponding to a edge list, where the third column is an edge attribute corresponding to a character name of the edge.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.