wide.dyads.to.edgelist: Transform wide alter-alter data to an edge list. When...

View source: R/read.egonet.R

wide.dyads.to.edgelistR 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.


tilltnet/egor documentation built on Feb. 12, 2024, 3:21 a.m.