Description Usage Arguments Value Examples
Get 4 milepost moments T.1, T.2, Z.1 and Z.2
1 | get_milepost(pre_data, Beginning_Time)
|
pre_data |
dataframe with 4 predicted indicators:
|
Beginning_Time |
the selection of beginning time, which must be in the formate "%y-%m-%d" as a character. |
dataframe contains 4 milepost T.1, T.2, Z.1, Z.2, which must be in the formate "%y-%m-%d" as a character.
1 2 3 4 5 6 | Beginning_Time <- "2020-01-29"
M <- 5
indicators <- get_indicators(DemoPreTurningPointsCOVID19::COVID19_CN)
velocity <- calc_velocity(indicators, M, Beginning_Time)
pre_data <- get_future_indicators(indicators, velocity, Beginning_Time)
mileposts <- get_milepost(pre_data, Beginning_Time)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.