View source: R/mortality_rate.R
mortality_rate | R Documentation |
This function calculates the mortality rate which is also known as the crude death rate for a given population.
mortality_rate(number_people_dead, population_size, n)
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) |
the mortality rate as a numeric vector
Irucka Embry
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-.
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.
# Example from Reference 1
library(iemisc)
mortality_rate(369369, 331534662, 5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.