Add a leave activity

Share:

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.

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.