I am trying to plot the information contained in one dataframe X. However, I am not managing to include the error bars, nor the connection lines between the same coloured dots. For now, the code to obtain the plot attached is as follows:
ggplot(dataframeX, aes(x= points, y=emmean, colour= Gamers)) +
geom_pointrange(aes(ymin=emmean-SE, ymax=emmean+SE)) +
facet_grid(. ~ Team) +
theme_light()
It did not working adding:
geom_line(aes(color=Gamers))+
geom_point(aes(ymin=emmean-SE, ymax=emmean+SE), lwd = 2.5)
Any idea on how should I proceed?
