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, all of them by default. This might be a vector of numeric ids, or a character vector of symbolic vertex names for named graphs.