sim_death_mix_cbd_rh: Simulation of death counts from a hybrid model that averages...

View source: R/sim_mortality_data.R

sim_death_mix_cbd_rhR Documentation

Simulation of death counts from a hybrid model that averages the mortality rates from the cbd and rh models

Description

Simulation of death counts from a hybrid model that averages the mortality rates from the cbd and rh models

Usage

sim_death_mix_cbd_rh(params_cbd, params_rh, years, ages, exposure, q)

Arguments

params_cbd

named list that contains the parameters of the cbd model

params_rh

named list that contains the parameters of the rh model

years

vector of calendar year

ages

vector of ages

exposure

matrix of exposure data

q

mixing parameter (0 <- rh, 1 <- cbd)

Value

matrix of death count


StanMoMo documentation built on Sept. 24, 2023, 1:06 a.m.