View source: R/mortality_rate.R
mortality_rate_pct | R Documentation |
This function calculates the mortality rate percent which is also known as the crude death rate percent for a given population.
mortality_rate_pct(mortality_rate, n)
mortality_rate |
numeric vector that contains the mortality rate |
n |
numeric vector that contains the population size units (ex., 3 for 1,000 people, 5 for 100,000 people) |
the mortality rate percent 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)
mr_2020 <- mortality_rate(369369, 331534662, 5)
mortality_rate_pct(mortality_rate(15, 331534662, 5), 5)
mortality_rate_pct(mr_2020, 5)
mortality_rate_pct(15, 5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.