I have a df as below, and I could like to get for each ID what is in subject 1 but not in subject 2, and what is in subject 2 but not in subject 1. Any suggestion/
df <- structure(list(ID = c("Tom", "Jerry", "Marry"), Subject1 = c("Art; Math",
"ELA;Math", "PE; Math; ELA"), Subject2 = c("Math; PE", "Math; ELA",
"Math; Bio")), row.names = c(NA, -3L), class = c("tbl_df", "tbl",
"data.frame"))
