build_known_tree | R Documentation |
Reconstruct known tree (i.e. from tracing data)
build_known_tree(id_case, id_biter, y_coord, x_coord, owned, date_symptoms)
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) |
a data.table with the known contact tracing tree
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.