make_nwinf_data: Creates a dataset with new infection events from herd level...

View source: R/glm_nwinf_lagged.R

make_nwinf_dataR Documentation

Creates a dataset with new infection events from herd level test results

Description

Creates a dataset with new infection events from herd level test results

Usage

make_nwinf_data(sfd, time_of_inf = c("mid", "first", "last"))

Arguments

sfd

a STOCfree_data object

time_of_inf

a character string. When 'mid', the time of new infection is the median of the months between which the consecutive tests occurred.


AurMad/STOCfree documentation built on Sept. 13, 2022, 3:20 a.m.