prod_vec: A function to produce a vector of products

View source: R/prod_vec.R

prod_vecR Documentation

A function to produce a vector of products

Description

This function is a helper function which calculates the product to be used in the rho (pop proportion) function.

Usage

prod_vec(m0, beta, age_vec)

Arguments

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

prod_vec(m0, beta, age_vec)

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