ql_summary {queuecomputer}R Documentation

Summarise queue lengths

Description

Summarise queue lengths

Usage

ql_summary(times, queuelength)

Arguments

times

numeric vector of times

queuelength

numeric vector of queue lengths

Examples

n <- 1e3
arrivals <- cumsum(rexp(n))
service <- rexp(n)
departures <- queue(arrivals, service, 1)

queuedata <- queue_lengths(arrivals, service, departures)
ql_summary(queuedata$times, queuedata$queuelength)

[Package queuecomputer version 1.2.0 Index]