Function to filter eventlog using a time period.
filter_time_period(eventlog, start_point, end_point,
filter_method = c("contained", "intersecting", "start", "complete", "trim"),
reverse = FALSE)ifilter_time_period(eventlog)
The event log to be used. An object of class
eventlog
.
Start timestamp of the time period. This should be a date object.
End timestamp of the time period. This should be a data object.
Can be contained, start, complete, intersecting
or trim
.
contained
keeps all the events related to cases contained in the time period.
start
keeps all the events related to cases started in the time period.
complete
keeps all the events related to cases complete in the time period.
intersecting
keeps all the events related to cases in which at least one event started and/or ended in the time period.
trim
keeps all the events which started and ended in the time frame.
A logical parameter depicting whether the selection should be reversed.