addSeries: Add a time series to an existing xts plot

Description Usage Arguments Author(s)

View source: R/plot2.R

Description

Add a time series to an existing xts plot

Usage

1
2
addSeries(x, main = "", on = NA, type = "l", col = NULL, lty = 1,
  lwd = 1, pch = 0, ...)

Arguments

x

an xts object to plot.

main

main title for a new panel if drawn.

on

panel number to draw on. A new panel will be drawn if on=NA.

type

the type of plot to be drawn, same as in plot.

col

color palette to use, set by default to rational choices.

lty

set the line type, same as in plot.

lwd

set the line width, same as in plot.

pch

the type of plot to be drawn, same as in plot.

...

any other passthrough parameters. Not currently used.

Author(s)

Ross Bennett


joshuaulrich/xtsExtra documentation built on May 19, 2019, 9:40 p.m.