Description Usage Arguments Author(s)
Add vertical lines to an existing xts plot
1 2 | addEventLines(event.dates, event.labels = NULL, date.format = "%Y-%m-%d",
main = "", on = NA, lty = 1, lwd = 1, col = 1, ...)
|
event.dates |
character vector of dates. Vertical lines will be drawn
to indicate that an event happened during that time period. |
event.labels |
character vector of event labels corresponding to
|
date.format |
format for the dates in |
main |
main title for a new panel if drawn. |
on |
panel number to draw on. A new panel will be drawn if |
lty |
set the line type, same as in |
lwd |
set the line width, same as in |
col |
color palette to use, set by default to rational choices. |
... |
any other passthrough parameters. Not currently used. |
Ross Bennett
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.