My data :
Plate Month Day Concentration
A April 1 17.1094
B April 2 16.001
C April 3 17.9501
D April 4 18.3686
E April 5 18.3133
F April 6 19.1189
G May 1 16.0423
H May 2 16.3614
I May 3 18.5723
J May 4 19.1091
K May 5 17.6863
L May 6 18.2647
Using geom_line I was able to draw a line graph connecting all dots in a nice plot as follows :
myData <- data.frame(read.table("myData.txt", sep="\t", header=TRUE))
ggplot(myData, aes(x = Plate, y = Concentration, group=1)) + geom_point() + geom_line()
I differentiated data based on Month using facet panels, and then draw a line graph as follows. Here, the line plot is disconnected after the last day in April month. How can I draw line plot that draws across facets i.e. from April to May ?
ggplot(myData, aes(x = Day, y = Concentration)) + facet_wrap(~ Month, nrow = 1) + geom_line() + geom_point()