edgl.to.grp: Dyadic data frame (edge list) to linear group by individual...

View source: R/edgl.to.grp.R

edgl.to.grpR Documentation

Dyadic data frame (edge list) to linear group by individual data frame

Description

Converts a dyadic data frame (edge list) to a linear group by individual data frame

Usage

edgl.to.grp(df, id1, id2, scan)

Arguments

df

a symetric edgelist of individual associations.

id1

a numeric or character vector indicating the column of the first individual association.

id2

a numeric or character vector indicating the column of the second individual association.

scan

a numeric or character vector representing one or more columns used as scan factors.

Value

a data frame with individual associations according to scan variable(s) declared by the user.


SebastianSosa/ANTs documentation built on Sept. 25, 2023, 11:06 p.m.