README.md

DemoPreTurningPointsCOVID19

This R package aims to implementing the computational framework in the paper Tracking and forecasting milepost moments of the epidemic in the early outbreak framework and applications to the COVID-19 based entirly on the Vicky-Zh’s work.

Installation

You can install it as a binary package or source package.

Install from binary:

Install from source code:

# install as a binary package.
# 1. download binary package to your PC
# 2. get the path of package file
install.packages(pkgfilepath, repos = NULL)

# install as a source code package (requires RTools)
# install.packages("devtools")
devtools::install_github("YuanchenZhu2020/DemoPreTurningPointsCOVID19")

Usage

Function List:

Dataset List:

If you want to see details of each function or dataset, use help(name). Or you can download the referance manual.

Example

library(DemoPreTurningPointsCOVID19)
# single begining time
single_result <- prediction(COVID19_CN, M = 5, Beginning_Time = "2020-01-29")

# multiple begining time
period_result <- period_predict(COVID19_CN, M = 5, Beginning_Time = "2020-01-29", period = 32)


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