leave: Leave the Trajectory

Description Usage Arguments Value

View source: R/trajectory-activities.R

Description

Activity for leaving 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 1, 2018, 5:03 p.m.