Creates a two-component two-mode network

create_poles(node1, node2)

Arguments

node1

Number of nodes in the first node set

node2

Number of nodes in the second node set

Details

Will construct an affiliation matrix, with full component diagonal.

Examples

create_poles(10, 12)
#> [,1] [,2] [,3] [,4] [,5] [,6] [,7] [,8] [,9] [,10] [,11] [,12] #> [1,] 1 1 1 1 1 1 0 0 0 0 0 0 #> [2,] 1 1 1 1 1 1 0 0 0 0 0 0 #> [3,] 1 1 1 1 1 1 0 0 0 0 0 0 #> [4,] 1 1 1 1 1 1 0 0 0 0 0 0 #> [5,] 1 1 1 1 1 1 0 0 0 0 0 0 #> [6,] 0 0 0 0 0 0 1 1 1 1 1 1 #> [7,] 0 0 0 0 0 0 1 1 1 1 1 1 #> [8,] 0 0 0 0 0 0 1 1 1 1 1 1 #> [9,] 0 0 0 0 0 0 1 1 1 1 1 1 #> [10,] 0 0 0 0 0 0 1 1 1 1 1 1