leave: Add a leave activity

Description Usage Arguments Value

View source: R/trajectory-activities.R

Description

Leave the trajectory with some probability.

Usage

1
leave(.trj, prob)

Arguments

.trj

the trajectory object.

prob

a probability or a function returning a probability.

Value

Returns the trajectory object.


simmer documentation built on May 20, 2017, 1:21 a.m.

Search within the simmer package
Search all R packages, documentation and source code