powered by
The covid19.nz data frame has 69 rows and 3 columns. The number of new cases is tracked daily.
covid19.nz
data(covid19.nz)
This data frame contains the following columns:
output from as.Date, is the day of year.
as.Date
a numeric vector, counts, the number of new cases.
a numeric vector, 0 for when the first case occurred; incrementally daily after that.
These were collected from https://www.nzherald.co.nz/ during the first month or so after the first case.
if (FALSE) plot(newcases ~ doy, covid19.nz, col = "blue", type = "h", las = 1, xlab = "Date")
Run the code above in your browser using DataLab