add_surveillance_event | R Documentation |
Add surveillance events
add_surveillance_event( model, i, t = 1, n = 1, events = as(model@events, "data.frame") )
model |
The model object |
i |
the node to add a surveillance event to |
t |
the timepoint that you want to do surveillance |
n |
the number of animals to seed |
events |
A dataframe of the events the default is just to extract them from the model object. |
A method for adding surveillance events to the model. These are events of Event type == 1 that increment the BL or BM compartments at a specific time point. These require select = 9 for blood sampling of adults and select = 10 for bulk milk sampling. When these units are added to the model they are redistributed to the appropriate test status by the simulator.
a paratb model object with some extra events
Thomas Rosendal
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.