incident_edges {simplegraph} | R Documentation |
Incident edges
Description
Incident edges
Usage
incident_edges(graph, mode = c("out", "in", "all", "total"))
Arguments
graph |
Input graph. |
mode |
Whether to use |
Value
A list of data frames, each a set of edges.
Examples
G <- graph(list(A = c("B", "C"), B = "C", C = "A"))
incident_edges(G, mode = "out")
incident_edges(G, mode = "in")
incident_edges(G, mode = "all")
[Package simplegraph version 1.0.1 Index]