How to fit a line in geom_point(), to estimate the overall trend for each plot.
Each line represents one patient with baseline measurement (red dot) and a second measurement (blue dot).
p <- ggplot(data = df, aes(x=days, y=temp_1)) +
geom_point(aes(x=days, y=temp_1), color="red", show.legend = TRUE) +
geom_point(aes(x=day, y=temp_2), color="blue", show.legend = TRUE) +
scale_color_manual(name="Measurements", breaks=c("temp_1", "temp_2"), values = c("red", "blue")) +
xlim(0, 20) + ylim(70, 100) +
geom_segment(aes(x=days, y=temp_1, xend=day, yend=temp_2))+
facet_grid(~ treatment) +
theme(legend.position = "bottom")

