itsTimes {its}R Documentation

Time Functions for Irregular Time-Series Objects

Description

Time functions for objects of class "its".

Usage

daysecondIts(x,...)
weekdayIts(x,...)

Arguments

x an object of class "its"
... further arguments passed to as.POSIXlt

Details

daysecondIts returns the number of seconds since midnight.

weekdayIts tests which entries of an irregular time-series object are time-stamped with weekdays.

Value

For daysecondIts a vector of decimal numbers representing the number of seconds.
For weekdayIts a vector of "logical" representing the test results for each time.

Author(s)

Giles Heywood

See Also

ts, POSIXct, itsFile, itsLags itsJoin itsTimes itsSubset itsFin itsDisp itsInfo itsCumdif itsArith itsInterp

Examples

## Not run: 
its.format("%Y-%m-%d %A")
b <- newIts()
print(b)
daysecondIts(b)
weekdayIts(b)
its.format("%Y-%m-%d")
## End(Not run)

[Package its version 1.1.1 Index]