keyoutput | R Documentation |
keyoutput
apply to a mwss object returns a list with number of simulation (nSimulations
), number of wards (nwards
),
the number of admission over the whole simulation (nadm
),
the maximal number of patients that were simultaneously isolated over the whole simulation (ISO
),
the maximal number of professionals that simultaneously took sick leave over the whole simulation (SL
),
the statistical summary of infections over the whole simulation (infection
),
the statistical summary of incidence over the whole simulation (incidence
),
the statistical summary of tests implemented over the whole simulation (tests
).
Used with the scale = 0
, the function returns statistics calculated at the facility scale.
Used with the scale = 1
, the function returns statistics calculated for each ward.
Using focus argument limit outputs to one of the three last list contains in the generic method.
n_extinction
is the number of extinction among all simulations. perc_outbreak
is the proportion of simulations were an epidemic was observed (only with scale = 1
).
n_noso
is the average number of nosocomial infections in a given population over the simulations.
n_intro
is the average number of infected patients introduced in a given population over the simulations.
n_out
is the average number of professionals of a given population who was infected in community over the simulations.
incPA, incPM, incPS, incHA, incHM
and incHS
are respectively the average incidence of asymptomatic, mild symptomatic and severe symptomatic patients and professionals (H: healthcare workers) over the simulations.
incP
and incH
are the respective incidence among patients and professionals (including asymptomatics and symptomatics).
nTestP
and nTestH
are the respective number of tests performed on patients and professionals.
n_dtestP
and n_dtestH
are the respective average daily number of tests performed on patients and professionals.
keyoutput(trajmwss, scale = 0, focus = NULL, outb_Thhold = 1)
trajmwss |
mwss object. List of list produced by |
scale |
NULL or numeric vector. 0 is the facility scale, 1 is the ward scale. |
focus |
String. Limit the output to infection data ( |
outb_Thhold |
Integer. Defines the minimal number of cases requested to define an epidemic (default is 1, only used with |
List
data("toydata")
list2env(toydata,envir=.GlobalEnv)
gdata <- build_gdata()
model <- mwss(ward_names, pop_size_P, pop_size_H, nVisits, LS, gdata, tSim = 30)
results <- multisim(model, 5, ward_names)
keyoutput(results, scale = 0, focus = NULL)
keyoutput(results, scale = 1, focus = NULL, outb_Thhold = 1)
keyoutput(results, scale = 0, focus = "incidence")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.