Skip to contents

Helper function that maps IDs across data with networks as reference

Usage

standardize_ids(
  networks,
  event_data,
  ILV_c = NULL,
  ILV_tv = NULL,
  t_weights = NULL
)

Arguments

networks

networks dataframe with columns trial, from, to, and one or more columns of edge weights named descriptively.

event_data

dataframe with columns id, trial, time, t_end

ILV_c

optional dataframe with columns id, and any constant individual-level variables that might be of interest

ILV_tv

optional dataframe with columns trial, id, time and any time-varying variables.

t_weights

Optional dataframe with columns trial, id, time and t_weight.

Value

list of dataframes with filled out ids