get_state: Get State at sampling time

View source: R/output_treeGenerator.r

get_stateR Documentation

Get State at sampling time

Description

Find the state of the host at the sampling time

Usage

get_state(table.state, host, time, total.time)

Arguments

table.state

data.table of hosts movement, extracted from a nosoi object

host

ID of the host

time

time of the sampling event

total.time

total time of the epidemics, extracted from the nosoi object

Value

state of the host


slequime/nosoi documentation built on Aug. 10, 2024, 9:13 p.m.