TimeSeriesPlot(FitAR)R Documentation

Multipanel trellis style time series plot

Description

Cleveland pointed out that the aspect-ratio is important in graphically showing the rate-of-change or shape information. For many time series, it is preferably to set this ratio to 0.25 than the default. In general, Cleveland shows that the best choice of aspect-ratio is often obtained by if the average apparent absolute slope in the graph is about 45 deg. But for many stationary time series, this would result in an aspect-ratio which would be too small. As a comprise we have chosen a default of 0.25 but the user can select other choices.

Usage

TimeSeriesPlot(z, SubLength = 200, aspect = 0.25, type="l", ylab=NULL, main=NULL, ...)

Arguments

z ts object or vector, time series data
SubLength maximum number of data points per panel
aspect optional setting for the aspect-ratio
type plot type, default type="l" join points with lines
ylab optional label for vertical axis
main optional title
... optional arguments passed to xyplot

Details

If z has attribute "title" containing a character string, this is used on the plot. Time series input using the function Readts always have this attribute set.

Value

graphic object of class trellis is produced

Note

requires lattice library

Author(s)

A.I. McLeod

References

W.S. Cleveland (1993), Visualizing Data.

See Also

TracePlot, Readts

Examples

data(Ninemile)
TimeSeriesPlot(Ninemile)

[Package FitAR version 1.0 Index]