Learn R Programming

edeaR (version 0.6.0)

filter_processing_time: Filter: Processing Time

Description

Filters cases based on their processing time.

Usage

filter_processing_time(eventlog, lower_threshold = NULL,
  upper_threshold = NULL, percentile_cut_off = NULL, reverse = F,
  units = "days")

ifilter_processing_time(eventlog)

Arguments

eventlog

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

lower_threshold

The lower duration threshold, specified in number of days. When reverse is FALSE, all cases with a lower duration are discarded.

upper_threshold

The upper duration threshold, specified in number of days. When reverse is FALSE, all cases with a higher duration are discarded.

percentile_cut_off

Alternatively to providing thresholds, a percentile cut off can be provided. A percentile cut off value of 0.9 will return the 90% shortest cases. When reverse is set to TRUE, it will return the 10% longest cases.

reverse

A logical parameter depicting whether the selection should be reversed.

units

The time unit used for filtering.