an object of class combined_networks
inheriting from
network::network
with a block-diagonal structure (or its
bipartite equivalent) comprising the networks passed in nwl
. In
particular,
the returned network's size is the sum of the input networks';
its basic properties (directedness and bipartednes) are the same;
the input networks' sociomatrices (both edge presence and edge
attributes) are the blocks in the sociomatrix of the returned
network;
vertex attributes are concatenated;
edge attributes are assigned to their respective edges in
the returned network;
network attributes are stored in a list; but if
detect.edgecov==TRUE
, those network attributes that have the
same dimension as the sociomatrices of the constituent networks,
they are combined into a single block-diagonal matrix that is
then stored as that attribute.
In addition, two new vertex attributes, specified by
blockID.vattr
and (optionally) blockName.vattr
contain,
respectively, the index in nwl
of the network from which that
vertex came and its name, determined as follows:
If nwl
is a named list, names from the list are used.
If not 1, but the network has an attribute title
, it is used.
Otherwise, a numerical index is used.
If blockID.vattr
already exists on the constituent networks, the
index is prepended to the attribute.
The values of blockID.vattr
and blockName.vattr
are stored in
network attributes ".blockID.vattr"
and ".blockName.vattr"
.