You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
That bit of code is required because the lines separating the days, weeks, etc. are also drawn as part of the plot and they need to know which year, etc. they need to fall in which is why I calcualte year inside the function anyway. I confess, this isn't the most friendly or best written of functions.
I can think of some ideas to help make this more flexible -
Allow a choice of colour, transparency for missing values.
There are no NA values in the dataset, however this is plotting an N/A year.
Created on 2018-08-13 by the reprex
package (v0.2.0).
The text was updated successfully, but these errors were encountered: