Converts a data frame of individual sampling times to give the index of the last infection that individual could have had
create_strain_mask(titre_dat, strain_isolation_times)
titre_dat | the data frame of titre data. See |
---|---|
strain_isolation_times | the vector of times that individuals can be infected |
a vector giving the last index of strain_isolation_times that an individual can be infected