its-disp {its}R Documentation

Display Methods for Irregular Time-Series Objects

Description

Display methods for objects of class "its".

Details

plot is the method for plotting irregular time-series objects. All series are displayed on a single set of axes, by default using different colours, linetypes, and widths. If the vectors defining these attributes are short, they are cycled.

print is the method for printing irregular time-series objects. The format for the dates is determined at the time the 'its' object is created.

Value

The methods are called for their side-effects.

Usage

plot(x,y,colvec=1:ncol(x),type="l",ltypvec=1,lwdvec=1, leg=FALSE,yrange,format,at,interp=c("linear","none"),...) print(x,...)

Arguments

x
an object of class "its"
y
missing
type
plot type, "l" for line, "p" for point, "b" for both - see par.
colvec,ltypvec,lwdvec
vectors of colour codes, line types, and line widths: see par.
leg
logical flag to display legend; uses locator for position.
yrange
ordinate range for display.
format
a formatting string, see format.POSIXct, for the axis dates
at
a vector of POSIX dates defining tickmark locations on axis: see axis.POSIXct
...
further arguments passed to or from other methods: for plot passed to plot.; for print passed to print.matrix

Author(s)

Giles Heywood

See Also

ts, POSIXct, its-file, its-lags its-join its-times its-subset its-fin its-disp its-info its-cumdif its-arith

Examples


a <- matrix(c(seq(by=24*60*60,length=20),1:20,41:60),nrow=20,ncol=3)
b <- as.its(a)
plot(b,colvec=c(1,7),lwdvec=1:2,ltypvec=1:2)
print(b)
its.format("%d/%m/%Y")
b <- as.its(a)
print(b)


[Package Contents]