head_of

0th

Percentile

Head of the edge(s) in a graph

For undirected graphs, head and tail is not defined. In this case head_of returns vertices incident to the supplied edges, and tail_of returns the other end(s) of the edge(s).

Usage
head_of(graph, es)
Arguments
graph

The input graph.

es

The edges to query.

Value

A vertex sequence with the head(s) of the edge(s).

See Also

Other structural queries: [.igraph; [[.igraph; adjacent_vertices; are.connected, are_adjacent; ecount, gsize; ends, get.edge, get.edges; get.edge.ids; gorder, vcount; incident_edges; incident; is.directed, is_directed; neighbors; tail_of

Aliases
  • head_of
Documentation reproduced from package igraph, version 1.0.1, License: GPL (>= 2)

Community examples

Looks like there are no examples yet.