sanity_checks_inputs_calculate: Check on the database input for calculating lambda at...

View source: R/sanity_checks.R

sanity_checks_inputs_calculateR Documentation

Check on the database input for calculating lambda at baseline

Description

Checks the presence of required variables and adds default values for missing variables.

Usage

sanity_checks_inputs_calculate(df, delay, rcd_at_baseline)

Arguments

df

a dataframe containing the data, with one column called h containing the daily incidence and one variable called prop_import containing the proportion of imported cases among new infections. additional optional variables are alpha (effective care), beta (proportion of liver stage cure), rho (reporting rate) and omega (intensity of vector control)

delay

a boolean indicating if the model including delays in treatment should be used.

rcd_at_baseline

a boolean indicating if the model was calibrated using the RCD model (i.e. there is some RCD at baseline already). Default (FALSE) is the model without RCD at baseline

Value

A dataframe containing all required variables


SwissTPH/VivaxModelR documentation built on Feb. 14, 2024, 11:27 a.m.