ends | R Documentation |
Incident vertices of some graph edges
ends(graph, es, names = TRUE)
graph |
The input graph |
es |
The sequence of edges to query |
names |
Whether to return vertex names or numeric vertex ids. By default vertex names are used. |
A two column matrix of vertex names or vertex ids.
Other structural queries:
[.igraph()
,
[[.igraph()
,
adjacent_vertices()
,
are_adjacent()
,
get_edge_ids()
,
gorder()
,
gsize()
,
head_of()
,
incident()
,
incident_edges()
,
is_directed()
,
neighbors()
,
tail_of()
g <- make_ring(5)
ends(g, E(g))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.