check_data: Checks the entries of data used in serosolver

View source: R/check_inputs.R

check_dataR Documentation

Checks the entries of data used in serosolver

Description

Checks the entries of data used in serosolver

Usage

check_data(data, verbose = FALSE)

Arguments

data

the data frame of data to be fitted. Must have columns: group (index of group); individual (integer ID of individual); samples (numeric time of sample taken); virus (numeric time of when the virus was circulating); titre (integer of titre value against the given virus at that sampling time)

verbose

if TRUE, prints warning messages

Value

the same data object with corrections if needed

See Also

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

Examples

data(example_antibody_data)
check_data(example_antibody_data)

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