Usage
calculate_queuing_length(
queueing_times,
level = c("log", "activity", "resource"),
time_interval
)Arguments
- queueing_times
Object of class
queuing_times, returned bycalculate_queuing_times.- level
character(default "log"): Level of granularity for the analysis:"log","activity","resource". For more information, see 'Details' below.- time_interval
The time interval after which the queue length should be calculated. For more information, see 'Details' below and the
byargument ofseq.Date.
Details
Argument level has the following options:
At
loglevel, this metric calculates the total number of activity instances that are queued at a given moment in time.At
resourcelevel, this metric calculates the total number activity instances that are queued for a given resource.On
activitylevel, this metric calculates the total number of activity instances that are queue for a given activity type.
Argument time_interval has the following options (see also the by argument of seq.Date):
