Learn R Programming

simmer (version 3.5.1)

leave: Add a leave activity

Description

Leave the trajectory with some probability.

Usage

leave(.trj, prob)

Arguments

.trj
the trajectory object.
prob
a probability or a function returning a probability.

Value

Returns the trajectory object.