check_inf_hist: Check infection history matrix

View source: R/check_inputs.R View source: R/check_inputs.R

check_inf_histR Documentation

Check infection history matrix

Description

Checks that the infection history matrix is allowable given the birth dates and sampling times of the data

Usage

check_inf_hist(
  antibody_data,
  possible_exposure_times,
  inf_hist,
  verbose = FALSE
)

check_inf_hist(
  antibody_data,
  possible_exposure_times,
  inf_hist,
  verbose = FALSE
)

Arguments

antibody_data

the data frame of titer data

possible_exposure_times

the vector of times corresponding to entries in DOB

inf_hist

the starting infection history matrix

verbose

if TRUE, prints warning messages

Value

a single boolean value, FALSE if the check passes, otherwise throws an error

nothing, prints a warning

See Also

Other check_inputs: check_attack_rates(), check_data(), check_par_tab(), check_proposals()


seroanalytics/serosolver documentation built on Dec. 14, 2024, 5:33 a.m.