This function identifies components in a two-mode network.

twomode_components(mat)

Arguments

mat

A matrix

Value

A list including the number of components in the network, the fragmentation of the network (number of components/number of nodes in the column nodeset), and the component membership of each node in that nodeset.

Details

Note that this function applies only to one dimension/mode (the columns). Use a transposed matrix to return values for the other dimension/mode.

See also

Examples

twomode_components(mat)
#> Error in twomode_components(mat): object 'mat' not found