I have two datasets like the following and I'm trying to plot them in one figure using either ggplot2 or regular plot:
df1
date count
2014-09-10 07:14:00 0.07253886
2014-09-10 07:19:00 0.03626943
2014-09-10 07:24:00 0.07253886
2014-09-10 07:29:00 0.19689119
2014-09-10 07:34:00 0.13989637
2014-09-10 07:39:00 0.88601036
df2
date count
2014-09-10 11:25:00 1.00000000
2014-09-10 11:30:00 0.47058824
2014-09-10 11:35:00 0.00000000
2014-09-10 11:40:00 0.11764706
2014-09-10 11:45:00 0.00000000
2014-09-10 11:50:00 0.05882353
As you can see the data frames have different date values (so you can't simply merge the two data frames by date column), although they are separated with 5 minutes interval. All I'm trying to do is to have one plot that starts from the minimum date and ranges to maximum date of these two data frames, while plot the click counts correctly for each time interval.

rbind(df1,df2)- then you should be able to plot away fine. - thelatemail