met.coutTriangles: Calculates the number of triangles in a network

View source: R/met.coutTriangles.R

met.coutTrianglesR Documentation

Calculates the number of triangles in a network

Description

Calculates the number of triangles in a network.

Usage

met.coutTriangles(M)

Arguments

M

an adjacency matrix.

Details

It uses an algorithm similar to the Node-iterator-core algorithm.

Value

An integer representing the binary global clustering coefficient index of the network.

Author(s)

Sebastian Sosa, Ivan Puga-Gonzalez.


SebastianSosa/ant documentation built on Sept. 23, 2023, 7:06 a.m.