View source: R/diagnostics_weekly.R
diagnostics_weekly | R Documentation |
This function takes some of the HCW cap options and calculates the section in the 'Weekly Summary' tab marked HCW and staff. This will then be used in some sort of capacity mapping/forecasting.
diagnostics_weekly(
params,
patients,
cases,
diagnostic_parameters,
testing_scenario
)
params |
From get_parameters |
patients |
From patients_weekly |
cases |
From cases_weekly |
diagnostic_parameters |
From get_diagnostic_parameters |
testing_scenario |
List of 8 testing scenario parameters, from set_testing_strategy() |
Dataframe of weekly summary
Date the week summarized begins
Date the week summarized ends
Tests required if all severe and critical patients tested for diagnosis, regardless of capacity limits. Number of tests required per case specified in diagnostic_parameters.
Tests performed if all severe and critical patients tested for release, regardless of capacity limits. Number of tests per case specified in diagnostic_parameters.
Tests for diagnosis for severe and critical patients capped by hospital capacity/number of severe and critical patients admitted to hospital
Tests for release for severe and critical patients capped by hospital capacity and IFR/number of severe and critical patients discharged from hospital
Number of tests for moderate patient diagnosis, given testing strategy
Number of tests for mild patient diagnosis, given testing strategy
Number of tests for suspected but negative cases
Testing strategy, string
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.