Obtain the within-block networks defined by the block attribute.
Function to return a list of networks, each network representing the within-block network of a block.
get_within_networks(network, block, combined_networks = TRUE)
network
: a network objectblock
: a vector of integers representing the block of each nodecombined_networks
: a boolean indicating whether the between-block networks should be returned as a combined_networks
object or not (default is TRUE)a list of networks
# Load an embedded network object. data(toyNet) get_within_networks(toyNet, toyNet %v% "block")
Useful links
Downloads (last 30 days):