Description Usage Arguments Value Note Examples
View source: R/transmission.network.builder.R
Build a list of HIV transmission networks data
1 | transmission.network.builder(datalist = datalist, endpoint = 40)
|
datalist |
The datalist that is produced by |
endpoint |
Only transmission events that took place before this point in simulation time, are captured in the output. |
a list with the transmission networks data
itimes Branching times -> endpoint - Infection times : to be handle by epi2tree
dtimes Sampling times -> endpoint - Removal times : to be handle by epi2tree
id Receiver's ID - to be handle by epi2tree
parent Donor's ID - to be handle by epi2tree
dtypes sampling/Removal types: diagnosed individuals (0), died and non diagnosed (-1), and alive and non diagnosed (1)
RecId Original receiver ID
DonId Original donor ID
InfecTime Infection time
Samptime Sampling/removal time (diagnosis - death - end of simulation)
GenderRec Gender of receiver
GenderDon Gender of donor
TOBRec time of birth of receiver
TOBDon time of birth of donor
transm.ls[[1]] is the transmission network (epi object) of the first seed
1 | transm.ls <- transmission.network.builder(datalist = datalist,endpoint = 40)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.