crude | R Documentation |
Calculates crude mortality rate
crude(deaths, population, perPopulation, decimal)
deaths |
Vector of death counts for each age category |
population |
Vector of population counts for each age category |
perPopulation |
Optional input for "per population" that applies to rate (default: per 1000 members of population) |
decimal |
Optional input for rounding rate to certain decimal (default: two decimals) |
Character string including crude mortality rate and per population
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.