ntriangles
Calculate number of triangles of a network
ntriangles(x)
x
: square matrix (adjacency matrix)scaler, number of triangles
This function calculates the number of triangles in a network given an adjacency matrix. We use igraph for this.
ntriangles(beach[[1]][, ])
Abhirup
Useful links