dualize: Take the dual of an affiliation network

Description Usage Arguments See Also Examples

View source: R/dualize.r

Description

This function obtains the dual of an affiliation network, in which the actors and events have swapped roles. To do this, it negates the logical values of the node type attribute and reorders the node ids accordingly.

Usage

1
2
3
4
5
dualize(graph)

dual_an(graph)

dual.an(graph)

Arguments

graph

An affiliation network.

See Also

Other modal queries and manipulations: mode_addition, mode_counts, modes, schedule

Examples

1
2
3
4

corybrunson/bitriad documentation built on May 13, 2019, 10:51 p.m.