as_bass_data: Prepare data for BassSIR modelling

Description Usage Arguments Examples

View source: R/data.R

Description

Prepare data for BassSIR modelling

Usage

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)

Arguments

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

Examples

1

COVID-19-Modelling/BassSIR documentation built on April 20, 2020, 1:57 a.m.