Description Usage Arguments Value
View source: R/lotka-volterra-ctmc.R
Simulate continuous-time Markov chain of Lotka-Volterra model
1 2 3 4 5 6 7 8 9 10 11 | simulate_lotka_volterra_ctmc(
theta,
y1_min = 0,
y2_min = 0,
y1_max,
y2_max,
initial_y1,
initial_y2,
initial_state_prob,
total_time
)
|
theta |
Numeric vector of length 3. |
y1_min |
Min for y1, integer, default is 0. |
y2_min |
Min for y2, integer, default is 0. |
y1_max |
Max for y1, integer. |
y2_max |
Max for y2, integer. |
initial_y1 |
Initial state of process y1. |
initial_y2 |
Initial state of process y2. |
initial_state_prob |
Probability matrix (y1, y2) for intial state of process. |
total_time |
Total time that CTMC can run for. |
Trajectory (integer vector)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.