Learn R Programming

weibull4 (version 1.0.0)

US_COVID: US number of new COVID-19 cases

Description

Dataset for weibull4 package. This dataset contain the number of the US' new daily cases of COVID-19 to be fitted to the 4-parameters Weibull distribution in weibull4 package with modes=2, in order to fit to the second wave of COVID-19 infections.

Usage

data("US_COVID")

Arguments

Format

A data frame with 336 observations on the following 2 variables.

date

US_COVID$date

new_cases

US_COVID$new_cases

new_deaths

US_COVID$new_deaths

Details

x values are in Date format. So, xmax must be as.Date()

References

Roser M, Ritchie H, Ortiz-Ospina E, Hasel J. Coronavirus Pandemic (COVID-19) [Internet]. 2020 [cited 2020 May 15]. Available from: https://ourworldindata.org/coronavirus

Examples

Run this code
# NOT RUN {
data(US_COVID)
## maybe str(US_COVID) ; plot(US_COVID) ...
# }

Run the code above in your browser using DataLab