The error message is self explanatory, on the last geom_vline()
you are passing a yintercept
argument instead of xintercept
, and this makes no sence because a vertical line can't have an intercept with the y axis.
If you need more specific help, please provide a proper REPRoducible EXample (reprex) illustrating your issue.