This function returns the first onward transmission for a given patient.
1 | update_onward_transmission(pt, source, colonisation, n_patients)
|
pt |
an integer. the patient for which the first onward transmission is returned. |
source |
a vector. the sources of the patients. |
colonisation |
a vector with days of colonisation of the patients. |
n_patients |
the total number of patients. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.