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.avgDeaths(codi, deaths.summed = FALSE)ggb().TRUE then deaths was specified as the sum over the intercensal period. Otherwise it was the mean.deathsAvg will be appended.