Add vertical lines and labels to an existing xts plot.
addEventLines(events, main = "", on = 0, lty = 1, lwd = 1, col = 1, ...)An xts object of events and their associated labels. It is
ensured that the first column of events is the event description/label.
Main title for a new panel, if drawn.
Panel number to draw on. A new panel will be drawn if on = NA.
The default, on = 0, will add to the active panel. The active panel is
defined as the panel on which the most recent action was performed. Note
that only the first element of on is checked for the default behavior to
add to the last active panel.
Set the line type, same as in par().
Set the line width, same as in par().
Color palette to use, set by default to rational choices.
Any other passthrough parameters to text() to control how
the event labels are drawn.