Transform wide alter-alter data to an edge list. A regex based implementation to convert a wide list to an edgelist.
wide.dyads.to.edgelist.regex(e.wide, aa.regex, netsize)
A dataframe containing the alter-alter relation data in the 'wide' format.
A Perl regular expression with name capture,
intended to be run on column names and capturing via named
capture the following regex groups: "attr"
, "src"
, and
"tgt"
, representing the edge attribute being captured, the
source (or the first alter identified), and the target (or the
second alter identified) of the edge, respectively. See regex
for more information.
Vector
containing values of network size per ego.