# NOT RUN {
mortalityTables.load("Austria_Annuities_AVOe2005R")
# extrapolate the trend exponentially from age 95 instead (overwriting the existing trend)
avoe2005exp = mT.extrapolateTrendExp(AVOe2005R.male, 95)
plotMortalityTrend(mT.setName(avoe2005exp, "AV<U+00D6> 2005R with trend extrapolated from age 85 up"),
AVOe2005R.male, Period = 2020, ages = 60:120)
# }
Run the code above in your browser using DataLab