R/disease_prog.R
transition_prob.Rd
Look up a probability for an agent in compartment E or I to progress to the next compartment (I or R, respectively), based on the characteristics of agent and subject.
transition_prob(ticks, shape, scale)
ticks | The number of time steps in which the agent has been in the current compartment |
---|---|
shape | The shape parameter for the transition probability distribution |
scale | The scale parameter for the transition probability distribution |
A vector of progression probabilities.
# ADD_EXAMPLES_HERE