TimeIntervalDataFrame
,
TimeInstantDataFrame
,
POSIXst
, POSIXcti
, etc.). See
sections below for complete list of methods.## S3 method for class 'POSIXctp':
split(x, f, drop = FALSE, ...)
## S3 method for class 'POSIXcti':
split(x, f, drop = FALSE, ...)
## S3 method for class 'POSIXst':
split(x, f, drop = FALSE, ...) ## S3 method for class 'TimeInstantDataFrame':
split(x, f, drop = FALSE, ...)
## S3 method for class 'TimeIntervalDataFrame':
split(x, f, drop = FALSE, ...)
## S3 method for class 'SubtimeDataFrame':
split(x, f, drop = FALSE, ...)
## S3 method for class 'ANY,POSIXctp':
split(x, f, drop = FALSE, ...)
## S3 method for class 'ANY,POSIXcti':
split(x, f, drop = FALSE, ...)
## S3 method for class 'ANY,POSIXst':
split(x, f, drop = FALSE, ...)
## S3 method for class 'TimeIntervalDataFrame,TimeIntervalDataFrame':
split(x, f, ..., split.x=FALSE, keep.f=TRUE)
## S3 method for class 'TimeIntervalDataFrame,POSIXcti':
split(x, f, ..., split.x=FALSE)
## S3 method for class 'TimeIntervalDataFrame,POSIXctp':
split(x, f, ..., split.x=FALSE)
f
is a factor
or a list).x
that are over several intervals or not completely included in
one interval of f
must be 'cut' to
fit to new intervals (TRUE) or ignored (FALSE).f
values must be kept
on the resulting list.f
(after converting
to a factor). The class of each element of the list is the one
of the initial x
structure.split
for details
about f
and drop
.
The method takes each time interval of the first TimeIntervalDataFrame (TitDF) and searches with which time intervals of the second it intersects.
Each time interval of the first TItDF can intersect with none, one or several time intervals of the second TItDF. The arguments 'split.x' is defined to tell the method what to do :
So a TimeIntervalDataFrame is created according to 'f' and the the above method is called.
timetools
a short description is given
there.split
,
TimeIntervalDataFrame-class
,
TimeInstantDataFrame-class
,
SubtimeDataFrame-class
,
POSIXcti-class
,
POSIXst-class
, POSIXctp-class