state.deaths: Graph 2020 excess deaths by state or jurisdiction

View source: R/state.deaths.R

state.deathsR Documentation

Graph 2020 excess deaths by state or jurisdiction

Description

Function to compute excess deaths by age group and jurisdiction during the 2020 COVID-19 pandemic.

Usage

	state.deaths(state="Massachusetts",
		plot=c("raw","per capita","excess","excess per capita",
		"percent above normal"),
		corrected=FALSE,
		data=list(),
		date.range=list(),
		...)

Arguments

state

state or jurisdiction.

plot

what to plot.

corrected

correct past year deaths to 2020 population (logical).

data

list containing CDC data. If not supplied, function will create this object.

date.range

date range for the plot.

...

optional arguments.

Value

A plot.

Author(s)

Liam Revell liam.revell@umb.edu

References

References here.


liamrevell/covid19.Explorer documentation built on Feb. 19, 2023, 3:09 p.m.