Description Usage Arguments Details
View source: R/SEIQHRFNetModules.R
Models transition to the exposed state. Makes use of the FromXtoExposed function.
1 | exposure(dat, at)
|
dat |
native Epimodel object |
at |
simulation timestep |
The final probability is calculated based on the contact rate (act.rate) and infection probability (inf.prob) using the following equation:
finalProb = 1 - (1 - inf.prob)^act.rate
Read more at the pages 65-66 of this book This corresponding to a Binomial trial with a p of success (transmission equal) to inf.prob and act.rate trials
Currently, the transition are processed sequentially. The transition in question are one-to-multiple state transitions] which should be modelled concurrently using transition matrices. The current implementation introduces bias as the probability of the transmission not being succesful is greater than it would be if this was to be processed concurrently. Read more here for further discussion or get in touch if you implement this
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.