get_estimated_deaths: Get estimated deaths from Bayesian truncated Gompertz model

Description Usage Arguments Value

View source: R/get_estimated_deaths.R

Description

Get estimated deaths by age, group and cohort and associated uncertainty intervals.

Usage

1
2
get_estimated_deaths(mod, cohorts, ncohorts, group_levels, ngroups, ages,
  nages, alpha_level = 0.05)

Arguments

mod

a JAGS model object

cohorts

vector of cohorts

ncohorts

number of cohorts

group_levels

vector of groups

ngroups

number of groups

ages

vector of ages

nages

number of ages

alpha_level

level of significance. Default is 5%.

Value

a dataframe with estimated deaths by age, group and cohort


MJAlexander/censoc documentation built on March 10, 2020, 10:11 a.m.