View source: R/calculate_queuing_length.R
calculate_queuing_length | R Documentation |
calculate_queuing_length(
queueing_times,
level = c("log", "activity", "resource"),
time_interval
)
queueing_times |
Object of class |
level |
|
time_interval |
The time interval after which the queue length should be calculated. For more information, see 'Details' below and the |
Argument level
has the following options:
At log
level, this metric calculates the total number of activity instances that are queued at a given moment in time.
At resource
level, this metric calculates the total number activity instances that are queued for a given resource.
On activity
level, 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
):
A numeric
as number of days.
An object of class difftime
.
A character
string, which could be one of "day"
, "week"
, "month"
, "quarter"
, or "year"
.
The first day for which queue length is calculated, is the first timestamp found in the log.
calculate_queuing_times
, seq.Date
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.