check_par_tab: Check par_tab for simulate_data

View source: R/check_inputs.R

check_par_tabR Documentation

Check par_tab for simulate_data

Description

Checks the entries of par_tab used in simulate_data

Usage

check_par_tab(
  par_tab,
  mcmc = FALSE,
  version = NULL,
  possible_exposure_times = NULL,
  verbose = FALSE
)

Arguments

par_tab

the parameter table controlling information such as bounds, initial values etc

mcmc

logical, if TRUE then checks are performed for the MCMC algorithm. Use FALSE when simulating data

version

which version of the posterior function is being used? See create_posterior_func

possible_exposure_times

optional vector of possible exposure times

verbose

if TRUE, prints warning messages

Value

the same par_tab object with corrections if needed

See Also

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

Examples

data(example_par_tab)
check_par_tab(example_par_tab, FALSE, version=1)

seroanalytics/serosolver documentation built on April 10, 2024, 3:28 p.m.