covid19.nz | R Documentation |
The covid19.nz
data frame has 69 rows and 3 columns.
The number of new cases is tracked daily.
data(covid19.nz)
This data frame contains the following columns:
output from as.Date
, is
the day of year.
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.
The NZ Herald states their source was Johns Hopkins University.
## Not run: plot(newcases ~ doy, covid19.nz, col = "blue", type = "h",
las = 1, xlab = "Date")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.