Description Usage Arguments See Also
View source: R/project-transitivity.R
Each clustering coefficient can be defined as the proportion of "wedges" that are "closed", for suitable definitions of both terms. The main function, transitivity_an, calls one of the wedge functions and computes the global or local clustering coefficient of the given affiliation network, and if the local, then at the given nodes. ('project_transitivity' cheats by using the native 'transitivity' but produces output consistent with the other variants of 'transitivity_an'.)
1 2 3 | project_transitivity(graph, type = "global", vids = which(!V(graph)$type))
project.transitivity(graph, type = "global", vids = which(!V(graph)$type))
|
graph |
An affiliation network. |
type |
The type of clustering coefficient (defaults to "global") |
vids |
A subset of actor node ids at which to evaluate the local clustering coefficient. |
Other triad closure functions: dynamic_triad_closure
,
transitivity_an
,
triad_closure_from_census
,
triad_closure
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.