I am trying to make a ggplot graph with two regression lines: One below and the other above the median to depict potential effect of age in the sample. So fa, I have tried: geom_hline (aes(yintercept = median(df$y) I do not get anything. I can also have two graphs, one with one line and the second one with the other line and combine them, but I haven't had success. Any help?
Yacila
geom_hline (aes(yintercept = median(df$y)
Expected a line above the mean