seqplot: Time series plot.

View source: R/ARIMA-trellis.R

seqplotR Documentation

Time series plot.

Description

Time series plot.

Usage

seqplot(xts, ...)

## Default S3 method:
seqplot(xts,
        pch.seq=letters,
        groups=as.numeric(cycle(xts)),
        a=NULL, b=NULL, h=NULL, v=NULL,
        ylab=deparse(substitute(xts)),
        xlab="Time",
        lwd=1, lty=c(1,3),
        type="b",
        col=trellis.par.get("superpose.symbol")$col,
        col.line="gray60",
        ...)







## S3 method for class 'ts'
seqplot(xts, pch.seq=letters, groups=as.numeric(cycle(xts)),
        x.at=pretty(time(xts)[groups==min(groups)]),
        x.labels,
        ylab=deparse(substitute(xts)),
        ...)

















Arguments

xts

Time series

pch.seq

sequence of pch characters for use with the time series. The characters repeat over the cycle of the series.

groups

Numeric vector used to choose the plotting characters over cycles.

a, b, h, v

Arguments to panel.abline.

ylab, xlab, lwd, lty, type

standard trellis arguments.

x.at, x.labels

shortcut for scales=list(x=list(at=x.at, labels=x.labels))

col

Color of dots in sequence plot. The default is to make the choose a number of colors to match the frequency of the time series xts.

col.line

Color of connecting lines. The default is "gray60".

...

Additional arguments to xyplot.

Author(s)

Richard M. Heiberger (rmh@temple.edu)

See Also

tsacfplots

Examples

seqplot(co2)

HH documentation built on Aug. 9, 2022, 5:08 p.m.

Related to seqplot in HH...