Proportion of triangles around each node relative to the number of possible triangles. Measures how tightly clustered a node's neighborhood is.
Arguments
- x
Network input (matrix, igraph, network, cograph_network, tna object).
- transitivity_type
Type of transitivity:
"local"(default),"global","undirected","localundirected","barrat"(weighted),"weighted", or"onnela"."onnela"computes the Onnela / Holme weighted clustering coefficient on the symmetrized matrix and matchestna::centralities(., "Clustering")byte-for-byte. Auto-set to"onnela"whentna_network = TRUE(passed via...) and the user did not pass an explicit value.- isolates
How to handle isolate nodes:
"nan"(default) or"zero".- ...
Additional arguments passed to
centrality(e.g.,weighted,directed).
See also
centrality for computing multiple measures at once.
