get_within_networks {bigergm} | R Documentation |
Obtain the within-block networks defined by the block attribute.
Description
Function to return a list of networks, each network representing the within-block network of a block.
Usage
get_within_networks(network, block, combined_networks = TRUE)
Arguments
network |
a network object |
block |
a vector of integers representing the block of each node |
combined_networks |
a boolean indicating whether the between-block networks should be returned as a |
Value
a list of networks
Examples
# Load an embedded network object.
data(toyNet)
get_within_networks(toyNet, toyNet %v% "block")
[Package bigergm version 1.2.1 Index]