build_known_tree: Reconstruct known tree (i.e. from tracing data)

build_known_treeR Documentation

Reconstruct known tree (i.e. from tracing data)

Description

Reconstruct known tree (i.e. from tracing data)

Usage

build_known_tree(id_case, id_biter, y_coord, x_coord, owned, date_symptoms)

Arguments

id_case

id of case

id_biter

id of biter (i.e. known biter from contact tracing data, if unknown should be 0, if no contact tracing data, can pass NULL)

y_coord

y coordinate of case (should be in UTM: to do = use haversine distance for long/lat)

x_coord

x coordinate of case (should be in UTM: to do = use haversine distance for long/lat)

owned

whether animal is owned or not (per Katie, to account for uncertainty in case locations)

date_symptoms

case date (i.e. date symptoms started)

Value

a data.table with the known contact tracing tree


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