addSeries | R Documentation |
Add a time series to an existing xts plot
addSeries(
x,
main = "",
on = NA,
type = "l",
col = NULL,
lty = 1,
lwd = 1,
pch = 1,
...
)
x |
An xts object to add to the plot. |
main |
Main title for a new panel if drawn. |
on |
Panel number to draw on. A new panel will be drawn if |
type |
The type of plot to be drawn, same as in |
col |
Color palette to use, set by default to rational choices. |
lty |
Set the line type, same as in |
lwd |
Set the line width, same as in |
pch |
The type of plot to be drawn, same as in |
... |
Any other passthrough graphical parameters. |
Ross Bennett
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.