plot_testcount: Plot average daily number of test

View source: R/plot_testcount.R

plot_testcountR Documentation

Plot average daily number of test

Description

plot_testcount returns an plot representing the average daily number of test performed over the simulations at different scales and for different populations. The daily number of test is represented by a barplot up to 30 time steps, then they are represented by dots and lines.

Usage

plot_testcount(trajmwss, scale = 0, pop = NULL, iter = FALSE, ward = FALSE, daysint = 1)

Arguments

trajmwss

List of data.table. Epidemiological trajectories simulated by the function mwss::multisim

scale

Integer. Indicated the scale for statistics: 0/ whole facility, 1/ wards.

pop

String. Define a subpopulation for statistics ("P": Test performed on patients, "H": Test performed on professionals ; default is FALSE: considering all tests).

iter

Integer. Define a specific simulation. Default is FALSE, providing average values over all simulations.

ward

String. Define a specific ward. Default is FALSE, considering all wards. At the facility scale '0' no ward can be specified.

daysint

Integer. Indicated time step use to calculate average daily number of test (default is 1 day).

Value

Test count plot


MESuRS-Lab/mwss documentation built on Sept. 12, 2023, 12:08 a.m.