rho: A function to calculate a matrix of population proportions

View source: R/rho.R

rhoR Documentation

A function to calculate a matrix of population proportions

Description

This function produces a matrix of population proportions to be used in calculating a vector of mortality rates.

Usage

rho(rho0, m0, beta, age_vec)

Arguments

rho0

vector of initial population proportions. Length of vector equals number of sub-populations.

m0

vector of initial mortality rates.

beta

vector of ageing rates.

age_vec

vector of ages from birth to upper age limit of population $\omega$

Examples

rho()

pachristopher/projectRpkg documentation built on Nov. 24, 2022, 8:28 p.m.