ContactTrace-class {EpiContactTrace} | R Documentation |
"ContactTrace"
Class to handle contact tracing.
The ContactTrace
class holds information for the ingoing and outgoing
contact chain for a specific root within the time window used for contact
tracing.
A character
vector of length one with the identifier of the root.
A Contacts
object with the contacts for the ingoing contact chain.
A Contacts
object with the contacts for the outgoing contact chain.
Objects can be created by calls of the
form new("ContactTrace",root, ingoingContacts, outgoingContacts,...)
## Load data data(transfers) ## Perform contact tracing contactTrace <- Trace(movements = transfers, root = 2645, tEnd = '2005-10-31', days = 90) ## Show structure str(contactTrace)