simnet_df_perturb {CommKern} | R Documentation |
Description of the simulated network data frame function.
simnet_df_perturb(n_nodes, n_comm, n_nets, perturb_prop)
n_nodes |
the number of nodes in each simulated network (will be the same across all networks) |
n_comm |
the number of communities to be simulated in each network (will be the same across all networks) |
n_nets |
the number of networks to simulate |
perturb_prop |
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).
a list of network data frames containing nodes, their community assignment, and node dyads