| get.edge.ids {igraph} | R Documentation |
Find the edge ids based on the incident vertices of the edges
Description
get.edge.ids() was renamed to get_edge_ids() to create a more
consistent API.
Usage
get.edge.ids(graph, vp, directed = TRUE, error = FALSE, multi = deprecated())
Arguments
graph |
The input graph. |
vp |
The incident vertices, given as a two-column data frame, two-column matrix, or vector of vertex ids or symbolic vertex names. For a vector, the values are interpreted pairwise, i.e. the first and second are used for the first edge, the third and fourth for the second, etc. |
directed |
Logical scalar, whether to consider edge directions in directed graphs. This argument is ignored for undirected graphs. |
error |
Logical scalar, whether to report an error if an edge is not
found in the graph. If |
multi |
[Package igraph version 2.2.3 Index]