Learn R Programming

its (version 0.1.2)

its-internal: Internal Functions for Irregular Time-Series Objects

Description

Internal functions for objects of class "its".

Usage

addDimnames(mat)
gapIts(x,y,maxgap)
overlapsIts(x,y)
overlapmatchesIts(x,y)
namesmatchIts(x,y)
expandIts(x)
plotIts(x,y,colvec=1:ncol(x),type="l",ltypvec=1,lwdvec=1,
       leg=FALSE,yrange,format,at,interp=c("linear","none"),...)
printIts(x,...)
startIts(x,format=its.format(),...)
endIts(x,format=its.format(),...)
summaryIts(object,...)
cumsumIts(x)
diffIts(x,lag=1)
validIts(object)
unionIts(x,y)
intersectIts(x,y)

Arguments

mat
a matrix
x,y,object,e1,e2
objects of class "its"
maxgap
a numeric scalar
type
plot type, 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.
at
a vector of POSIX dates defining tickmark locations on axis: see axis.POSIXct
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 column names of its inputs expandIts splits a single series into a number of series, each with a single run of non-NA data. Other functions are the setMethod definition for the associated generic.

See Also

its,