Learn R Programming

weibull4 (version 1.0.0)

Canada_COVID: Canada's COVID-19 number of daily new cases and deaths

Description

Dataset for weibull4 package. This dataset contain the number of the Canada's new daily cases and deaths for COVID-19 to be fitted to the 4-parameters Weibull distribution in weibull4 package.

Usage

data("Canada_COVID")

Arguments

Format

A data frame with 349 observations on the following 3 variables.

date

Canada_COVID$date

new_cases

Canada_COVID$new_cases

new_deaths

Canada_COVID$new_deaths

Details

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

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(Canada_COVID)
## maybe str(Canada_COVID) ; plot(Canada_COVID) ...
# }

Run the code above in your browser using DataLab