Description Usage Arguments Examples
Prepare data for BassSIR modelling
1 2 3 4 5 6 | as_bass_data(d, id = "Place X", status = c("Current", "Cumulative"),
i_date = "Date", i_confirmed = "Confirmed", i_recovered = "Cured",
i_dead = "Dead")
## S3 method for class 'BassData'
print(cases)
|
d |
source data.frame |
status |
the source data are "Cumulative" numbers or "Current" |
i_date |
index indicating date |
i_confirmed |
index indicating confirmed cases |
i_recovered |
index indicating recovered people |
i_dead |
index indicating the number of dead people |
location |
identity of the data |
1 | as_bass_data(n_covid19$Hubei)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.