Checks that the infection history matrix is allowable given the birth dates and sampling times of the data
check_inf_hist(titre_dat, strain_isolation_times, inf_hist)
| titre_dat | the data frame of titre data |
|---|---|
| strain_isolation_times | the circulation times of possible infecting strains eg. 1968:2015 |
| inf_hist | the infection history matrix, with nrows = number indivs and ncols = length(strain_isolation_times) |
a single boolean value, FALSE if the check passes, otherwise throws an error