get_dp_Sx | R Documentation |
Get mortality probability (Sx) from Spectrum DP file
get_dp_Sx(dp, proj_years)
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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.