Combine spo2 and trial data into a long-format dataframe

make_spo2_long(spo2_data, trial_data)

Arguments

spo2_data

dataframe of data from anesthesia monitor

trial_data

dataframe of other variables