My data:
dput(head(df))
structure(list(Visit = c("Visit_1", "Visit_2", "Visit_3", "Visit_1",
"Visit_2", "Visit_3"), Patient = c("Patient_01", "Patient_01",
"Patient_01", "Patient_02", "Patient_02", "Patient_02"), LH_concentration = c("6.6",
"8.8", "7.9", "4.1", "4.5", "4.2")), row.names = c(NA, -6L), class = c("tbl_df",
"tbl", "data.frame"))
I put group = 3 because I had gotten this error: "geom_path: Each group consists of only one observation. Do you need to adjust the group aesthetic?". Maybe it is something else I have to do in that situation?