build_gdata | R Documentation |
It calculates 1) the prevalence from daily incidence in the community and average disease duration, 2) the probability of transmission per day spent in contact based on R0 and average disease duration, 3) the time ratios of the epidemiological state based on average states duration, 4) the proportion of time outside of work, and 5) the proportion of probabilities of developing mild and severe symptoms for patients.
Then the functions formats all global parameters required for the transitions as a named list readable by SimInf package.
build_gdata(
disease = "Covid",
n_ctcH_PSA = NULL,
t_ctcH_PSA = NULL,
n_ctcP_PSA = NULL,
t_ctcP_PSA = NULL,
n_ctcH_PW = NULL,
t_ctcH_PW = NULL,
n_ctcP_PW = NULL,
t_ctcP_PW = NULL,
n_ctcH_H = NULL,
t_ctcH_H = NULL,
t_ctcV_PW = NULL,
I = NULL,
d = NULL,
R0 = NULL,
tw = NULL,
tSA = NULL,
tIC = NULL,
tSL = NULL,
tESL = NULL,
tE = NULL,
tEA = NULL,
tES = NULL,
tIA = NULL,
tIM = NULL,
tIS = NULL,
tLI = NULL,
tHI = NULL,
epsPPSA = NULL,
epsHPSA = NULL,
epsHPW = NULL,
epsPPW = NULL,
epsVPW = NULL,
epsPHSA = NULL,
epsPHW = NULL,
epsHHW = NULL,
ttestSA = NULL,
ttestPW = NULL,
ttestHW = NULL,
ttestsymp = NULL,
tbtwtestP = NULL,
tbtwtestH = NULL,
tbeftestPsymp = NULL,
tbeftestHsymp = NULL,
psympNI = NULL,
psympLI = NULL,
psympHI = NULL,
psevNI = NULL,
psevLI = NULL,
psevHI = NULL,
pISO = NULL,
pSL = NULL,
pESL = NULL,
pSLT = NULL,
pIC = NULL,
pdieIC = NULL,
pLI = NULL,
pHI = NULL,
hNI2LI = NULL,
hLI2HI = NULL,
rinfLI = NULL,
rinfHI = NULL,
rsymp = NULL,
rsev = NULL,
rEA = NULL,
rES = NULL,
rIA = NULL,
rIM = NULL,
rIS = NULL,
ptestPSAsymp = NULL,
ptestPSANI = NULL,
ptestPSALI = NULL,
ptestPSAHI = NULL,
ptestPWsymp = NULL,
ptestPWNI = NULL,
ptestPWLI = NULL,
ptestPWHI = NULL,
ptestHsymp = NULL,
ptestHNI = NULL,
ptestHLI = NULL,
ptestHHI = NULL,
senSA = NULL,
speSA = NULL,
senW = NULL,
speW = NULL,
senH = NULL,
speH = NULL,
sensymp = NULL,
spesymp = NULL
)
disease |
string. only Covid and Influenza are available |
n_ctcH_PSA |
a positive number, the daily number of contacts with professionals per patient in the screening area |
t_ctcH_PSA |
a positive number, the average duration of contact between professional and patient per day in the screening area (in days, ex: if 15 min, t_ctcH_PSA = 15/60/24) |
n_ctcP_PSA |
a positive number, the daily number of contacts with other patients per patient in the screening area |
t_ctcP_PSA |
a positive number, the average duration of contact between patients per day in the screening area (in days) |
n_ctcH_PW |
a positive number, the number of contact between professional and patient per day in the ward |
t_ctcH_PW |
a positive number, the average duration of contact between patients per day in the ward (in days) |
n_ctcP_PW |
a positive number, the number of contacts with other patients per patient per day, in the ward |
t_ctcP_PW |
a positive number, the average duration of contact between patients per day in the ward (in days) |
n_ctcH_H |
a positive number, the number of contacts with professionals per professional per day |
t_ctcH_H |
a positive number, the average duration of contact between professionals in the ward (in days) |
t_ctcV_PW |
a positive number, the average duration of contact between patients per day in the ward (in days) |
I |
a positive number, the daily incidence |
d |
a positive number, the average disease duration (in days) |
R0 |
a positive number, the basic reproduction number |
tw |
a positive number, the average number of working hours per week (in hours) |
tSA |
a positive number, the average duration (in days) before full admission (in screening area for clinical exam, administrative procedure, etc) |
tIC |
a positive number, the average duration (in days) of stay in intensive care |
tSL |
a positive number, the average duration (in days) of sick leave |
tESL |
a positive number, the average duration (in days) of extended sick leave |
tE |
a positive number, the average duration (in days) of epidemiological state E (exposed - non contagious) |
tEA |
a positive number, the average duration (in days) of epidemiological state EA (exposed - contagious pre-asymptomatic) |
tES |
a positive number, the average duration (in days) of epidemiological state ES (exposed - contagious pre-symptomatic) |
tIA |
a positive number, the average duration (in days) of epidemiological state IA (infectious asymptomatic) |
tIM |
a positive number, the average duration (in days) of epidemiological state IM (infectious with mild symptoms) |
tIS |
a positive number, the average duration (in days) of epidemiological state IS (infectious with severe symptoms) |
tLI |
a positive number, the average duration (in days) of low immunity persistence before return to non immune status |
tHI |
a positive number, the average duration (in days) of high immunity persistence before return to low immune status |
epsPPSA |
a positive ratio, the average infection-reducing ratio for patient infection during patient-to-patient contacts in the screening area (0 = no protection, 1 = complete protection/no infection possible) |
epsHPSA |
a positive ratio, the average infection-reducing ratio for patient infection during professional-to-patient contacts in the screening area (0 = no protection, 1 = complete protection/no infection possible) |
epsHPW |
a positive ratio, the average infection-reducing ratio for patient infection during professional-to-patient contacts in the ward (0 = no protection, 1 = complete protection/no infection possible) |
epsPPW |
a positive ratio, the average infection-reducing ratio for patient infection during patient-to-patient contacts in the ward (0 = no protection, 1 = complete protection/no infection possible) |
epsVPW |
a positive ratio, the average infection-reducing ratio for patient infection during visitor-to-patient contacts (0 = no protection, 1 = complete protection/no infection possible) |
epsPHSA |
a positive ratio, the average infection-reducing ratio for professional infection during patient-to-professional contacts in the screening area (0 = no protection, 1 = complete protection/no infection possible) |
epsPHW |
a positive ratio, the average infection-reducing ratio for professional infection during patient-to-professional contacts in the ward (0 = no protection, 1 = complete protection/no infection possible) |
epsHHW |
a positive ratio, the average infection-reducing ratio for professional infection during professional-to-professional contacts (0 = no protection, 1 = complete protection/no infection possible) |
ttestSA |
a positive number, the average duration (in days) of test in the screening area (from decision to test to action - such as transfer - after obtaining the test result) |
ttestPW |
a positive number, the average duration (in days) of test in the ward for patient screening (from decision to test to action - such as transfer - after obtaining the test result) |
ttestHW |
a positive number, the average duration (in days) of test for professional screening (from decision to test to action - such as sick leave - after obtaining the test result) |
ttestsymp |
a positive number, the average duration (in days) of test for symptomatic individuals (from decision to test to action - such as sick leave or transfer - after obtaining the test result) |
tbtwtestP |
a positive number, the average duration (in days) between two patient screening testing-events in the ward |
tbtwtestH |
a positive number, the average duration (in days) between two professional screening testing-events in the ward |
tbeftestPsymp |
a positive number, the average duration (in days) of symptomatic patients detection (before test) |
tbeftestHsymp |
a positive number, the average duration (in days) of symptomatic professional detection (before test) |
psympNI |
a positive probability, the conditional probability to be symptomatic when non immune |
psympLI |
a positive probability, the conditional probability to be symptomatic despite a low immunity |
psympHI |
a positive probability, the conditional probability to be symptomatic despite a high immunity |
psevNI |
a positive probability, the conditional probability to develop severe symptoms when symptomatic and non immune |
psevLI |
a positive probability, the conditional probability to develop severe symptoms when symptomatic and despite a low immunity |
psevHI |
a positive probability, the conditional probability to develop severe symptoms when symptomatic and despite a high immunity |
pISO |
probability, level of contact restrictions (confinement/quarantine/isolation) in case of positive test |
pSL |
a positive probability, the probability for professional with mild symptoms of taking sick leave |
pESL |
a positive probability, the probability for professional with severe symptoms of taking extended sick leave |
pSLT |
positive probability, the additional probability for professionals of taking sick leave after positive test |
pIC |
a positive probability, the probability for patient with severe symptoms to be transfer in intensive care |
pdieIC |
a positive probability, the probability to die in intensive care |
pLI |
a positive probability, the probability to have low immunity at the admission (proportion of individuals with low immunity in the community) |
pHI |
a positive probability, the probability to have high immunity at the admission (proportion of individuals with high immunity in the community) |
hNI2LI |
a positive probability, the daily probability to gain low immunity when non immune |
hLI2HI |
a positive probability, the daily probability to gain high immunity when having low immunity |
rinfLI |
a positive ratio, the average infection-reducing ratio for individuals with low immunity compared to non immune (can be interpreted as low immunity efficiency) |
rinfHI |
a positive ratio, the average infection-reducing ratio for individuals with high immunity compared to non immune (can be interpreted as high immunity efficiency) |
rsymp |
a ratio, the average ratio increasing or reducing the probability to develop symptoms for patients compared to general population (professionals) |
rsev |
a ratio, the average ratio increasing or reducing the probability to develop severe symptoms for symptomatic patients compared to general population (professionals) |
rEA |
a ratio, the ratio of excretion for individuals in epidemiological stage EA (exposed - contagious pre-asymptomatic) |
rES |
a ratio, the ratio of excretion for individuals in epidemiological stage ES (exposed - contagious pre-symptomatic) |
rIA |
a ratio, the ratio of excretion for individuals in epidemiological stage IA (infectious asymptomatic) |
rIM |
a ratio, the ratio of excretion for individuals in epidemiological stage IM (infectious with mild symptoms) |
rIS |
a ratio, the ratio of excretion for individuals in epidemiological stage IS (infectious with severe symptoms) |
ptestPSAsymp |
a positive probability, the probability to test symptomatic patients in the screening area |
ptestPSANI |
a positive probability, the probability to test non immune patients in the screening area |
ptestPSALI |
a positive probability, the probability to test patients with low immunity in the screening area |
ptestPSAHI |
a positive probability, the probability to test patients with high immunity in the screening area |
ptestPWsymp |
a positive probability, the probability to test symptomatic patients in the ward (Diagnostic testing) |
ptestPWNI |
a positive proportion, the proportion of non immune patients tested during screening testing in the ward |
ptestPWLI |
a positive proportion, the proportion of patients with low immunity tested during screening testing in the ward |
ptestPWHI |
a positive proportion, the proportion of patients with high immunity tested during screening testing in the ward |
ptestHsymp |
a positive probability, the probability to test symptomatic professionals (Diagnostic testing) |
ptestHNI |
a positive proportion, the proportion of non immune professionals tested during screening testing |
ptestHLI |
a positive proportion, the proportion of professionals with low immunity tested during screening testing |
ptestHHI |
a positive proportion, the proportion of professionals with high immunity tested during screening testing |
senSA |
a positive probability, the sensibility of tests use within the screening area |
speSA |
a positive probability, the specificity of tests use within the screening area |
senW |
a positive probability, the sensibility of tests use for patient screening in the ward |
speW |
a positive probability, the specificity of tests use for patient screening in the ward |
senH |
a positive probability, the sensibility of tests use for professional screening |
speH |
a positive probability, the specificity of tests use for professional screening |
sensymp |
a positive probability, the sensibility of tests use for symptomatic individuals |
spesymp |
a positive probability, the specificity of tests use for symptomatic individuals |
Named list of parameters
build_gdata()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.