# NOT RUN {
# }
# NOT RUN {
write.table(CR_mortality_rates_2010_2015,
file = "CR_mortality_rates_2010_2015.txt",
sep = "\t", row.names = FALSE, quote = FALSE)
write.table(CR_populations_1950_2015,
file = "CR_populations_1950_2015.txt",
sep = "\t", row.names = FALSE, quote = FALSE)
Lifetable("CR_mortality_rates_2010_2015.txt", "CR_populations_1950_2015.txt",
sex="female", first_year=2011, threshold=2150, jump="actual", max_age = 100,
element="ex", label="CR")
# }
Run the code above in your browser using DataLab