"TimeInstantDataFrame"
data.frame
and, for each row, a POSIXct
.
This class is provided to deal with punctual time data. Many
of such classes are defined in other packages. This one is defined
mainly to provide a TimeIntervalDataFrame
and SubtimeDataFrame
.To list all methods available for TimeInstantDataFrame, type in the R console :
methods(class='TimeInstantDataFrame') # for S3 methods}
showMethods(class='TimeInstantDataFrame') # for S4 methods}
To get back to this documentation from the R console :
class?TimeInstantDataFrame
The construction of the class allows to manipulate objects as if they
were data.frame (see
Finally, some specific methods allow to easily deal with agregation of data over time
properties (day, hour, week, special or specific time).
new("TimeInstantDataFrame", ...)
...argument must be replaced
by named arguments coresponding to slots of a TimeInstantDataFrame (see below).
See alsonew
.TimeInstantDataFrame (when, timezone='UTC', data=NULL, ...)
Arguments of the function correspond to object slots. SeeTimeInstantDataFrame
for details.RegularTimeInstantDataFrame (from, to, by, timezone='UTC', data=NULL)
Wrapper to construct TimeInstantDataFrame with specific properties (seeRegularTimeInstantDataFrame
).as.TimeInstantDataFrame (from, ...)
Converting object to
TimeInstantDataFrame.TimeIntervalDataFrame
, SubtimeDataFrame