I have to plot a Time Series given every 15 minutes with specific average prices for every 15 min intervals that means 96 intervals:
x-axis y-axis
00:00-00:15 price_1
00:15-00:30 price_2
. .
. .
23:45-00:00 price_96
I want to plot the x-axis by every two hours: For example all price values from 00:00-2:00, 2:00-4:00,...22:00-24:00 by 2 hours (see picture).
I tried to solve the poblem with ggplot but couldn´t find a solution.