Learn R Programming

simmer (version 3.5.1)

timeout: Add a timeout activity

Description

Insert delays and execute user-defined tasks.

Usage

timeout(.trj, task)

Arguments

.trj
the trajectory object.
task
the timeout duration supplied by either passing a numeric or a callable object (a function) which must return a numeric (negative values are automatically coerced to positive).

Value

Returns the trajectory object.