Last data update: 2014.03.03

R: Time series plot.
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)

Results


R version 3.3.1 (2016-06-21) -- "Bug in Your Hair"
Copyright (C) 2016 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> library(HH)
Loading required package: lattice
Loading required package: grid
Loading required package: latticeExtra
Loading required package: RColorBrewer
Loading required package: multcomp
Loading required package: mvtnorm
Loading required package: survival
Loading required package: TH.data
Loading required package: MASS

Attaching package: 'TH.data'

The following object is masked from 'package:MASS':

    geyser

Loading required package: gridExtra
> png(filename="/home/ddbj/snapshot/RGM3/R_CC/result/HH/seqplot.Rd_%03d_medium.png", width=480, height=480)
> ### Name: seqplot
> ### Title: Time series plot.
> ### Aliases: seqplot seqplot.default seqplot.ts
> ### Keywords: hplot
> 
> ### ** Examples
> 
> seqplot(co2)
> 
> 
> 
> 
> 
> dev.off()
null device 
          1 
>