multi_probability_bernoulli_process | R Documentation |
Simulates a Bernoulli process where all individuals
in a given source state from
sample whether or not
to transition to destination state to
with a
individual probability specified by the DoubleVariable
object rate_variable
.
multi_probability_bernoulli_process(variable, from, to, rate_variable)
variable |
a |
from |
a string representing the source state. |
to |
a string representing the destination state. |
rate_variable |
|
a function which can be passed as a process to simulation_loop
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.