Skip to contents

[Deprecated]

adjacent.triangles() was renamed to count_triangles() to create a more consistent API.

Usage

adjacent.triangles(graph, vids = V(graph))

Arguments

graph

The input graph. It might be directed, but edge directions are ignored.

vids

The vertices to query. This might be a vector of numeric IDs, or a character vector of symbolic vertex names for named graphs. The default NULL selects all vertices.

count_adjacent_triangles(), vcount()