avgDeaths: if necessary divide deaths by intercensal interval

Description Usage Arguments Value

View source: R/utils.R

Description

ideally deaths is the average annual deaths in the intercensal period, but it is also common to give it as the sum. If this was the case, set deaths.summed to TRUE and we take care of it.

Usage

1
avgDeaths(codi, deaths.summed = FALSE)

Arguments

codi

the standard object as described in e.g. ggb().

deaths.summed

logical. If TRUE then deaths was specified as the sum over the intercensal period. Otherwise it was the mean.

Value

codi a new column, deathsAvg will be appended.


DDM documentation built on May 2, 2019, 6:16 a.m.

Related to avgDeaths in DDM...