message("The pension table AVÖ 1999P requires the Excel file 'Austria_Pensions_AVOe2008P.xlsx'. Please set its path with options(\"MortalityTables.AVOe2008P\" = \"/path/to/Austria_Pensions_AVOe2008P.xlsx\").")
}else{
my.natrim<-function(v,...){
my.natrim<-function(v,...){
# Add a NA at the beginning and end, so the first and last entry of the rle
# Add a NA at the beginning and end, so the first and last entry of the rle