"SubtimeDataFrame"
data.frame
and, for each row, a subtime
.
This class is provided to deal with subtime data. This class
is compatible
with TimeIntervalDataFrame
and TimeInstantDataFrame
.To list all methods available for SubtimeDataFrame, type in the R console :
methods(class='SubtimeDataFrame') # for S3 methods}
showMethods(class='SubtimeDataFrame') # for S4 methods}
To get back to this documentation from the R console :
class?SubtimeDataFrame
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("SubtimeDataFrame", ...)
...argument must be replaced
by named arguments coresponding to slots of a SubtimeDataFrame (see below).
See alsonew
.SubtimeDataFrame (when, data=NULL, ...)
Arguments of the function correspond to object slots. SeeSubtimeDataFrame
for details.as.SubtimeDataFrame (from, representation, cursor=NULL, FUN=mean, ...)
Converting object to SubtimeDataFrame.TimeInstantDataFrame
, TimeIntervalDataFrame
,
subtime