Return a tripatite network of direction. The network contains three groups of species and interactions within layers, and there is no link among each group of nodes within one layer.
Arguments
lay_0
The number of nodes in the first layer.
lay_1
The number of nodes in the second layer.
lay_2
The number of nodes in the third layer.
C_lay
The probability of each node interact with the other one. It ranges from 0 to 1.
asmatrices
Logical. whether to output the overall adjacency matrix of the network and the corresponding interaction matrix of the respective subnetworks. Defaults to FALSE.