Does geom_vline() work on weekly data?

I'm able to graph with geom_vline(xintercept = x) with daily data without a problem, but when it comes to various weekly datasets, I can't seem to plot it. I also tried with floor_date(x, 'week', week_start = y) to match, but no luck.

Does anyone have experience with this, as in succeeded before?

It depends on your variable's class, can you provide a minimal REPRoducible EXample (reprex) so we can give you a working solution?

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.