HH (version 3.1-25)

seqplot: Time series plot.

Description

Time series plot.

Usage

seqplot(xts, ...)

## S3 method for class 'default':
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.

See Also

tsacfplots

Examples

Run this code
seqplot(co2)

Run the code above in your browser using DataCamp Workspace