check_exposures_times.Rd
check_exposures_times
check_exposures_times(
data_sero,
known_exp,
exposure_types,
fitted_exp,
exposurePriorTime = NULL,
exposurePriorTimeType = NULL
)
A data.frame with columns id, time and biomarkers
A data.frame with columns id, time and exposure_type
A vector of the exposure types
A string of the exposure type that is fitted
A data.frame describing either a functional or empirical prior
define a type of exposure prior, func
for functional and 'empirical' for empirical. If blank it will assume a uniform distribution between 1 and T.
A warning if there are values outside this range
This function checks that the data_sero has exposure times within the range the bleeds taken for an individual
This function can be used to check the data_sero before running the serojump model.