This function takes the exposure column from the results generated by mr() and splits it into separate columns for 'exposure name' and 'id'.

split_exposure(mr_res)

Arguments

mr_res Results from mr().

data frame