get_dp_Sx: Get mortality probability (Sx) from Spectrum DP file

View source: R/extract-pjnz.R

get_dp_SxR Documentation

Get mortality probability (Sx) from Spectrum DP file

Description

Get mortality probability (Sx) from Spectrum DP file

Usage

get_dp_Sx(dp, proj_years)

Details

This function extracts Sx for ages 0:79 and 80+. Spectrum calculates a separate Sx for age 80. The population projection model in EPP-ASM needs to be updated to handle this.


mrc-ide/first90release documentation built on Nov. 22, 2024, 5:02 a.m.