update_onward_transmission: Get first onward transmission of a patient

Description Usage Arguments

View source: R/RcppExports.R

Description

This function returns the first onward transmission for a given patient.

Usage

1
update_onward_transmission(pt, source, colonisation, n_patients)

Arguments

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.


mirjamlaager/mrsamcmc documentation built on May 20, 2020, 11:13 a.m.