Skip to contents

Aggregate dyadic dataset

Usage

agg_across_units(
  dyad_data,
  actor1,
  actor2,
  time = NULL,
  weight,
  symmetric,
  ignore_missing = TRUE
)

Arguments

dyad_data

user inputted data.frame object

actor1

character: actor 1 in the data

actor2

character: actor 2 in the data

time

character: time in the data

weight

character: weight variable in the data

symmetric

logical: is the adjacency matrix symmetric

ignore_missing

logical: should missing values be ignored

Value

aggregated data.frame object

Author

Shahryar Minhas