Learn R Programming

EpiContactTrace (version 0.9.1)

build_tree: Build a graph tree from the NetworkStructure

Description

Build a graph tree from the NetworkStructure

Usage

build_tree(network_structure)

Arguments

network_structure
a data.frame from the call NetworkStructure with a ContactTrace object

Value

A list with the two fields ingoing and outgoing. The fields are NULL or contain a data.frame with the tree. The fields are NULL if there are no in- or outgoing contacts.