Prediction: Prediciton

Description Usage Arguments Value Examples

Description

Integrate functions above, and handle a special situation (removedrate > 1).

Usage

1
prediction(RawData, M, Beginning_Time)

Arguments

RawData

dataframe with data and four ordered variables, i.e.

  • the day t,

  • the cumulative confirmed cases up to the given day t,

  • the daily confirmed cases at day t,

  • the daily recovered ones at day t,

  • the daily deaths at day t.

M

the selection of time window.

Beginning_Time

the selection of beginning time, which must be in the formate "%y-%m-%d" as a character.

Value

List contains important info. in the calculation:

Examples

1
2
3
Beginning_Time = "2020-01-29"
M <- 5
result <- prediction(COVID19_CN, M, Beginning_Time)

YuanchenZhu2020/DemoPreTurningPointsCOVID19 documentation built on Aug. 17, 2020, 12:24 a.m.