Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

head_of

Head of the edge(s) in a graph


Description

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


igraph

Network Analysis and Visualization

v1.2.10
GPL (>= 2)
Authors
See AUTHORS file.
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.