smallpox | R Documentation |
Time series of deaths due to smallpox, deaths due to all causes, and births in London, England, from 1661 to 1930, as recorded in the London Bills of Mortality and the Registrar General's Weekly Returns.
data(smallpox, package = "fastbeta")
A data frame with 13923 observations of 5 variables:
start date of the record.
length of the record, which is the number of days (typically 7) over which deaths and births were counted.
count of deaths due to smallpox.
count of deaths due to all causes.
count of births.
A precise description of the data set and its correspondence to the original source documents is provided in the reference.
A script generating the smallpox
data frame from a CSV
file accompanying the reference is available as
system.file("scripts", "smallpox.R", package = "fastbeta")
.
Krylova, O. & Earn, D. J. D. (2020). Patterns of smallpox mortality in London, England, over three centuries. PLOS Biology, 18(12), Article e3000506, 1-27. \Sexpr[results=rd]{tools:::Rd_expr_doi("10.1371/journal.pbio.3000506")}
data(smallpox, package = "fastbeta")
str(smallpox)
table(smallpox[["nday"]]) # not all 7 days, hence:
plot(7 * smallpox / as.double(nday) ~ from, smallpox, type = "l")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.