mortality_rate: Mortality Rate

View source: R/mortality_rate.R

mortality_rateR Documentation

Mortality Rate

Description

This function calculates the mortality rate which is also known as the crude death rate for a given population.

Usage

mortality_rate(number_people_dead, population_size, n)

Arguments

number_people_dead

numeric vector that contains the number of people dead for a time period

population_size

numeric vector that contains the total population size of which the deaths occurred

n

numeric vector that contains the population size units (ex., 3 for 1,000 people, 5 for 100,000 people)

Value

the mortality rate as a numeric vector

Author(s)

Irucka Embry

References

  1. Giovanni Scerra, Published Sep 26, 2021, "The Math of the Pandemic: COVID-19 Mortality Rate", LinkedIn, https://www.linkedin.com/pulse/math-pandemic-covid-19-mortality-rate-giovanni-scerra-.

  2. Michael Darcy and Łucja Zaborowska, MD, PhD, Last updated on Nov 05, 2022, "Mortality Rate Calculator", Omni Calculator, https://www.omnicalculator.com/health/mortality-rate.

Examples


# Example from Reference 1

library(iemisc)

mortality_rate(369369, 331534662, 5)








iemisc documentation built on Sept. 25, 2023, 5:09 p.m.