fill_data function

Fill rows with the values in one event

Fill rows with the values in one event

Function that with one particular variable and event it fills all the rows in the data with the value in that particular event. Auxiliar to rd_rlogic function

fill_data(which_event, which_var, data)

Arguments

  • which_event: String with the name of the event
  • which_var: String with the name of the variable
  • data: Dataset containing the REDCap data.