simnet_df_perturb {CommKern}R Documentation

Simulated network data frame

Description

Description of the simulated network data frame function.

Usage

simnet_df_perturb(n_nodes, n_comm, n_nets, perturb_prop)

Arguments

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

Details

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).

Value

a list of network data frames containing nodes, their community assignment, and node dyads


[Package CommKern version 1.0.1 Index]