Learn R Programming

edeaR (version 0.6.0)

filter_time_period: Filter: Time Period

Description

Function to filter eventlog using a time period.

Usage

filter_time_period(eventlog, start_point, end_point,
  filter_method = c("contained", "intersecting", "start", "complete", "trim"),
  reverse = FALSE)

ifilter_time_period(eventlog)

Arguments

eventlog

The event log to be used. An object of class eventlog.

start_point

Start timestamp of the time period. This should be a date object.

end_point

End timestamp of the time period. This should be a data object.

filter_method

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.

reverse

A logical parameter depicting whether the selection should be reversed.