get_chain_persistence: Get duration of chain persistence in days

View source: R/viz_chains.R

get_chain_persistenceR Documentation

Get duration of chain persistence in days

Description

Get duration of chain persistence in days

Usage

get_chain_persistence(chain_membership)

Arguments

chain_membership

output from get_chain_membership (a data.table with the membership of each case and the time in days)

Value

a data.table with the start and end days (from the origin, i.e. minimum case date in the transmission tree) and the duration of the chain in days.


mrajeev08/treerabid documentation built on Oct. 15, 2024, 12:14 p.m.