ntriangles {dnr} | R Documentation |
Calculate number of triangles of a network
ntriangles(x)
x |
square matrix (adjacency matrix) |
This function calculates the number of triangles in a network given an adjacency matrix. We use igraph for this.
scaler, number of triangles
Abhirup
ntriangles(beach[[1]][, ])