Prehos.daily: Prediction of daily hospitalized, ICU and ventilated cases.

Description Usage Arguments Examples

View source: R/Prehos.daily.R

Description

Prediction of daily hospitalized, ICU and ventilated cases based on SIR model.

Usage

1
2
Prehos.daily(obj, hosrate = 2.5, icurate = 0.75, venrate = 0.5,
  hms = 15)

Arguments

obj

Input. Object from function fitSIR.

hosrate

Input. Hospitalization rate of infected people (percentage between 0 to 100).

icurate

Input. ICU rate of infected people (percentage between 0 to 100).

venrate

Input. Ventilated rate of infected people (percentage between 0 to 100).

hms

Input. Hospital market share (percentage between 0 to 100).

Examples

1
2
3
4
5
## To predicte 100 days from today (dayFT=100).
casevolumne <- fitSIR(susceptible=4119405, Infected=3733, inihos=14,
     hosrate=2.5, hms=15, inidbt=4, mrt=14, sdis=30, dayFT=100)
dailyhosp <- Prehos.daily(casevolumne, hosrate=2.5, icurate=0.75, venrate=0.5, hms=15)
head(dailyhosp, 21) ## show the first 20 days

cyhsuTN/COVID19 documentation built on April 3, 2020, 4:19 a.m.