Learn R Programming

Sobol4R (version 0.4.0)

sobol4r_mm1_model: M/M/1 queue model wrapper for Sobol designs

Description

Evaluate a simple M/M/1 queue built with simmer for each row of a Sobol design matrix. The quantity of interest is the mean time in system across nrep independent replications.

Usage

sobol4r_mm1_model(X, horizon = 1000, warmup = 200, nrep = 20L)

Value

Numeric vector of length nrow(X).

Arguments

X

Design matrix or data.frame with columns lambda (arrival rate) and mu (service rate).

horizon

Simulation horizon.

warmup

Warmup period; arrivals ending before this time are discarded from the summary statistic.

nrep

Number of replications used to average the mean time in system.