Learn R Programming

VGAMdata (version 1.1-12)

covid19.nz: COVID-19 in New Zealand: The First Month or So

Description

The covid19.nz data frame has 69 rows and 3 columns. The number of new cases is tracked daily.

Usage

data(covid19.nz)

Arguments

Format

This data frame contains the following columns:

doy

output from as.Date, is the day of year.

newcases

a numeric vector, counts, the number of new cases.

Day

a numeric vector, 0 for when the first case occurred; incrementally daily after that.

Details

These were collected from https://www.nzherald.co.nz/ during the first month or so after the first case.

Examples

Run this code
if (FALSE) plot(newcases ~ doy, covid19.nz, col = "blue", type = "h",
     las = 1, xlab = "Date")

Run the code above in your browser using DataLab