Learn R Programming

its (version 0.1.1)

its-utilities: Utility Functions for Irregular Time-Series Objects

Description

Utility functions for objects of class "its".

Usage

addDimnames(mat)
gapIts(x,y,maxgap)
overlapsIts(x,y)
overlapmatchesIts(x,y)
namesmatchIts(x,y)
plotIts(x,y,colvec=1:ncol(x),groupsize=m,type="l",ltyps="sequence",
                        leg=FALSE,yrange=NA,format=NA,...)
printIts(x,...)
startIts(x,format=its.format(),...)
endIts(x,format=its.format(),...)
summaryIts(object,...)
cumsumIts(x)
diffIts(x,lag=1)
validIts(object)

Arguments

mat
a matrix
x,y,object
objects of class "its"
maxgap
a numeric scalar
type
plot type, see par.
colvec,ltyps
vectors of colour codes, line types, see par.
groupsize
colours are recycled after this number have been used.
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
...
further arguments passed to or from other methods: for start and end, passed to format.POSIXct.
lag
an integer number of lags

Value

  • addDimnames returns a matrix gapIts returns the gap (in seconds) between inputs overlapsIts returns a boolean overlapmatchesIts returns a boolean namesmatchIts returns a boolean for other functions, refer to the associated generic

Details

These functions are utilities, not intended for general use. addDimnames adds dimnames (strings representing row and column number) if absent gapIts tests for the present of a gap in the time-stamps of its inputs overlapsIts tests for the presence of overlap in the time-stamps of its inputs overlapmatchesIts tests for equality of overlapping data in its inputs namesmatchIts tests for equality of culumn names of its inputs Other functions are the setMethod definition for the associated generic.

See Also

its,