new_state | R Documentation |
Given a transition matrix Q
, a uniform value u
, and a previous
state k
, it returns the new state of a Markov jump process.
new_state(prev_state, cum_embedded_mc, u)
prev_state |
Previous state of the Markov jump process. |
cum_embedded_mc |
Transition matrix. |
u |
Random value in (0,1). |
Next state of the Markov jump process.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.