`filter_processing_time.Rd`

Filters cases based on their processing time.

filter_processing_time(eventlog, interval, percentage, reverse, units, ...) # S3 method for eventlog filter_processing_time(eventlog, interval = NULL, percentage = NULL, reverse = FALSE, units = c("days", "hours", "mins", "secs", "weeks"), ...) # S3 method for grouped_eventlog filter_processing_time(eventlog, interval = NULL, percentage = NULL, reverse = FALSE, units = c("days", "hours", "mins", "secs", "weeks"), ...) ifilter_processing_time(eventlog)

eventlog | The dataset to be used. Should be a (grouped) eventlog object. |
---|---|

interval | An duration interval (numeric vector of length 2) to be used for absolute. Half open interval can be created using NA. |

percentage | A percentage p to be used for relative filtering. |

reverse | Logical, indicating whether the selection should be reversed. |

units | The time unit used for defining filter intervals. |

... | Deprecated arguments. |

When given an eventlog, it will return a filtered eventlog. When given a grouped eventlog, the filter will be applied in a stratified way (i.e. each separately for each group). The returned eventlog will be grouped on the same variables as the original event log.

This filter can be used by using an interval or by using a percentage. The percentage will always start with the shortest cases first and stop including cases when the specified percentile is reached. On the other hand, an absolute interval can be defined instead to filter cases which have a processing time in this interval. The time units in which this interval is defined can be submitted with the units argument.

`eventlog`

: Filter event log`grouped_eventlog`

: Filter grouped event log