bbm_bleach_simulation: Bleach a simulation.

Description Usage Arguments Value

Description

Remove particles from the simulation at a specified rate. If a particle is removed at a given time-point, it never returns.

Usage

1

Arguments

sim

An object of class bbm_sim: the output of a bbm_simulate().

rate

The rate at which the bleaching should occur. Each particle has probability rate of being removed for the next frame. I.e. rate must be between 0 aand 1 and a low rate means not much bleaching, whereas a high rate means a lot of bleaching.

Value

An object of class bbm_sim.


rorynolan/brownded documentation built on May 5, 2019, 9:20 a.m.