tail_of: Tails of the edge(s) in a graph

View source: R/basic.R

tail_ofR Documentation

Tails of the edge(s) in a graph

Description

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

Usage

tail_of(graph, es)

Arguments

graph

The input graph.

es

The edges to query.

Value

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

See Also

Other structural queries: [.igraph(), [[.igraph(), adjacent_vertices(), are_adjacent(), ends(), get.edge.ids(), gorder(), gsize(), head_of(), incident(), incident_edges(), is_directed(), neighbors()


igraph/rigraph documentation built on May 19, 2024, 6:19 a.m.