Skip to contents

This function creates a symmetric id for a given pair of actors

Usage

gen_symm_id(dyad_data, actor1, actor2, time = NULL)

Arguments

dyad_data

dyadic data.frame object

actor1

name of actor1 column

actor2

name of actor2 column

time

name of time column if relevant

Value

a vector of symmetric ids that can be added back to the data.frame object

Author

Shahryar Minhas