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.


ANTs documentation built on July 3, 2022, 1:05 a.m.

Related to met.coutTriangles in ANTs...