plot.cenTS: Plot a 'cenTS' object

Description Usage Arguments See Also Examples

View source: R/cenTS.R

Description

Plot a cenTS object

Usage

1
2
3
4
5
## S3 method for class 'cenTS'
plot(x, type = "l", auto.grid = TRUE,
  major.ticks = "auto", minor.ticks = TRUE, major.format = TRUE,
  bar.col = "grey", candle.col = "white", ann = TRUE, axes = TRUE,
  ylim = NULL, main = NULL, ...)

Arguments

x

a cenTS object.

type, auto.grid, major.ticks, minor.ticks, major.format, bar.col, candle.col, ann, axes, ylim, main, ...

standard parameters to control the plot.

See Also

plot.xts.

Examples

1
2
3
4
5
6
7
8
strDates <- c("2000-01-01", "2000-01-02", "2000-01-03", "2000-01-04", "2000-01-05")
ts <- cenTS(value=c(1,-2,1,NA,0),
            order.by=as.Date(strDates,"%Y-%m-%d"),
            lcl=c(-3,-2,-1,-1,0),
            ucl=c(3,2,1,1,1),
            x=c(1,1,1,1,1),
            y=c(2,2,2,2,2))
 plot(ts)

carx documentation built on May 2, 2019, 3:43 a.m.

Related to plot.cenTS in carx...