Description Usage Arguments Value
View source: R/simulate-ctmc.R
Simulate continuous-time Markov chain
1 | simulate_ctmc(generator_matrix, initial_state_prob, initial_state, total_time)
|
generator_matrix |
Square generator matrix (possibly sparse). |
initial_state_prob |
Probability vector for intial state of process. |
initial_state |
Initial 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.