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/ANTs documentation built on Sept. 25, 2023, 11:06 p.m.