wide.dyads.to.edgelist {egor} | R Documentation |
Transform wide alter-alter data to an edge list. When alter-alter for numerous networks is stored in one file/object it is common use the 'wide' data format. This function transforms such data to an edge lists.
Description
Transform wide alter-alter data to an edge list. When alter-alter for numerous networks is stored in one file/object it is common use the 'wide' data format. This function transforms such data to an edge lists.
Usage
wide.dyads.to.edgelist(
e.wide,
first.var,
max.alters,
alters.list = NULL,
selection = NULL
)
Arguments
e.wide |
A dataframe containing the alter-alter relation data in the 'wide' format. |
first.var |
Number of column containing the relation between the first and the second network contact. |
max.alters |
Maximum number of alters for which alter-alter relations were collected. |
[Package egor version 1.24.2 Index]