as.SubtimeDataFrame(from, ...) ## S3 method for class 'TimeInstantDataFrame':
as.SubtimeDataFrame(from,
representation, FUN=mean, ..., first.day=0)
## S3 method for class 'TimeIntervalDataFrame':
as.SubtimeDataFrame(from,
representation, cursor=NULL, FUN=mean, ...,
first.day=0)
representation ==
'wday'
. Interger indicating the first day of the week. 0
-> sunday (the default), 1 -> monday, 2 -> tuesday, etc.0
, start of each intervals is taken as
instant ; if 1
end of each intervals is taken as
instant. Any other value will determine a weigthed
instant between start and end (TimeIntervalDataFrame
, data is first
converted to a TimeInstantDataFrame (see
as.TimeInstantDataFrame
). Then, this
TimeInstantDataFrame is converted to a SubtimeDataFrame
(see the appropriated section).