simfn: COVID-19 ICU bed occupancy simulation

Description Usage Arguments Value

View source: R/covid_simr-gamma.R

Description

COVID-19 ICU bed occupancy simulation

Usage

1
simfn(rep, dates, metric, value, los_median, los_95, cap, pfat, uncert)

Arguments

rep

(postive integer), number of repetitions in simulation.

dates

(vec, Date), dates in siulation.

metric

PLACEHOLDER

value

PLACEHOLDER

los_median

positive numeric, median length of stay (in days) for admitted covid19 pateints, to be estimated by user from data or other source

los_95

positive numeric, 0.95 quantile length of stay (in days) for admitted covid19 patients, to be estimated by user from data or other source

cap

positive integer, maximum number of patients who can be concurrently admitted to the hospital/unit

pfat

numeric in range 0 (no chance of death) to 1 (certain death), probability that a patient who arrives but is rejected/cannot be admitted (because there are no beds free) dies

uncert

log, does the simulation include uncertainty.

Value

Results of simulation.


nhs-bnssg-analytics/covid-simr documentation built on May 12, 2020, 4:55 p.m.