Description of the simulated network data frame function.
simnet_df_perturb(n_nodes, n_comm, n_nets, perturb_prop)
a list of network data frames containing nodes, their community assignment, and node dyads
the number of nodes in each simulated network (will be the same across all networks)
the number of communities to be simulated in each network (will be the same across all networks)
the number of networks to simulate
the proportion of network nodes to randomly alter their community assignment within each network
This is an ancillary function that creates a list of data frames, of which
each data frame describes the community assignment for each node in the
network. These data frames are used as a starting point for the edge weights
to be added between nodes (see group_network_perturb
and
get_weights
for more information).