global_trans: Calculate the global transitivity of a list of graphs

Description Usage Arguments Details Value Author(s) References Examples

View source: R/global_trans.R

Description

This function is a convenience wrapper for the transitivity function in igraph. It is used to calculate the global clustering coefficient of a list of unweighted graphs or a thresholded weighted graph

Usage

1
global_trans(graphs)

Arguments

graphs

a list of igraph objects.

Details

Global transitivity is the ratio of complete triangles to all triplets (three nodes connected by at least two triplets, ie a "V" shape or a complete triangle) in the network. It is a variant of the global clustering coefficient (Wasserman & Faust, 1994).

Value

A vector of global transitivity scores for each subject

Author(s)

Brandon Vaughan

References

Wasserman, S., and Faust, K. (1994). Social Network Analysis: Methods and Applications. Cambridge: Cambridge University Press.

Examples

1
GTR = global_trans(graphs)

abnormally-distributed/rsfcNet documentation built on March 8, 2020, 5:32 p.m.