| ContactTrace-class | 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.
rootA character vector of length one with the
identifier of the root.
ingoingContactsA Contacts object with the contacts
for the ingoing contact chain.
outgoingContactsA 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.