excess.vs.covid: Graph COVID-19 and non COVID-19 deaths by age group

View source: R/excess.vs.covid.R

excess.vs.covidR Documentation

Graph COVID-19 and non COVID-19 deaths by age group

Description

Function to show COVID and excess deaths for 2020/21.

Usage

	excess.vs.covid(
	age.group=c(
	"Under 25 years",
	"25-44 years",
	"45-64 years",
	"65-74 years",
	"75-84 years",
	"85 years and older"),
	cumulative=FALSE,
	data=list(),
	xlim=c(60,366+365+181),
	bg="transparent",
	lwd=2,
	...)

Arguments

age.group

age group or groups.

cumulative

show cumulative deaths (logical).

data

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

xlim

x limits for the plot.

bg

background color of the plot.

lwd

line width.

...

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.