title: How to simplify date in graph axis to month and year?
body: <p>Apologies for a question on something which is probably very straightforward. I am very new to R.
  I have a dataframe which contains dates in a year,month,day format e.g. &quot;2020-05-28&quot;. I wanted to stratify the data at month level, so I used the &quot;floor_date&quot; function. However, now the dates read as &quot;2020-05-01&quot; etc. This is absolutely fine for the data set itself, but I am creating epidemiological curves and want to change the dates to &quot;2020-05&quot; etc. on the legend. Could anyone provide some guidance on how to do this? I can't simply replace the pattern &quot;01&quot; with a blank as I need to keep 01 on month level (January) visible.</p>