mortality_rate_pct: Mortality Rate Percent

View source: R/mortality_rate.R

mortality_rate_pctR Documentation

Mortality Rate Percent

Description

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

Usage

mortality_rate_pct(mortality_rate, n)

Arguments

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)

Value

the mortality rate percent 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)

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)




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