Learn R Programming

simmer (version 3.5.1)

renege_in: Add a renege activity

Description

Set or unset a timer or a signal after which the arrival will abandon.

Usage

renege_in(.trj, t, out = NULL)
renege_if(.trj, signal, out = NULL)
renege_abort(.trj)

Arguments

.trj
the trajectory object.
t
timeout to trigger reneging, accepts either a numeric or a callable object (a function) which must return a numeric.
out
optional sub-trajectory in case of reneging.
signal
signal to trigger reneging, accepts either a string or a callable object (a function) which must return a string.

Value

Returns the trajectory object.

See Also

send