check_attack_rates: Checks the attack_rates supplied in simulate_data

View source: R/check_inputs.R

check_attack_ratesR Documentation

Checks the attack_rates supplied in simulate_data

Description

Checks the attack_rates supplied in simulate_data

Usage

check_attack_rates(attack_rates, possible_exposure_times)

Arguments

attack_rates

a vector of attack_rates to be used in the simulation

possible_exposure_times

vector of strain circulation times

Value

nothing at the moment

See Also

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

Examples

attack_rates <- runif(40)
possible_exposure_times <- seq_len(40)
check_attack_rates(attack_rates, possible_exposure_times)

seroanalytics/serosolver documentation built on July 11, 2024, 4:41 p.m.