seqplot
From HH v3.1-8
by Richard Heiberger
Time series plot.
Time series plot.
- Keywords
- hplot
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=ifelse(is.null(units(xts)),"Time",units(xts)),
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
Examples
seqplot(co2)
Community examples
Looks like there are no examples yet.