itsTimes: Time Functions for Irregular Time-Series Objects

Description Usage Arguments Details Value Author(s) See Also Examples

Description

Time functions for objects of class "its".

Usage

1
2

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 itsInterp

Examples

1
2
3
4
5
6
7
8
9
## Not run: 
its.format("%Y-%m-%d %A")
b <- newIts()
print(b)
daysecondIts(b)
weekdayIts(b)
its.format("%Y-%m-%d")

## End(Not run)

armstrtw/its documentation built on May 10, 2019, 1:42 p.m.