its-times {its} | R Documentation |
Time functions for objects of class "its"
.
daysecondIts(x,...) weekdayIts(x,...)
x |
an object of class "its" |
... |
further arguments passed to as.POSIXlt |
daysecondIts
returns the number of seconds since midnight.
weekdayIts
tests which entries of an irregular time-series object are
time-stamped with weekdays.
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.
Giles Heywood
ts
,
POSIXct
,
its-file
,
its-lags
its-join
its-times
its-subset
its-fin
its-disp
its-info
its-cumdif
its-arith
its.format("%Y-%m-%d %A") a <- matrix(c(seq(by=24*60*60,length=20),1:20,41:60),nrow=20,ncol=3) b <- as.its(a) print(b) daysecondIts(b) weekdayIts(b)