Learn R Programming

ROMIplot (version 1.0)

ROMIplot-package: \Sexpr[results=rd,stage=build]{tools:::Rd_package_title("#1")}ROMIplotPlots Surfaces of Rates of Mortality Improvement

Description

\Sexpr[results=rd,stage=build]{tools:::Rd_package_description("#1")}ROMIplotProvides the possibility to plot Lexis surface maps (heat maps) of rates of mortality improvement. Raw data to be plotted can be read from the Human Mortality Database using code originally written by Tim Riffe. The European Research Council has provided financial support under the European Community's Seventh Framework Programme (FP7/2007-2013) / ERC grant agreement no. 263744.

Arguments

Details

This package should facilitate the creation of Lexis surface maps that depict rates of mortality improvement, which the first author has shown at several demographic conferences. See references.

References

Roland Rau et al. (2013): Rates of Mortality Improvement on the Lexis Surface. Visualizing Age-, Period- and Cohort-Effects. See: http://paa2013.princeton.edu/abstracts/130485

Examples

Run this code
## Not run: 
# AUTdata <- readHMDformat(CNTRY = "AUT", username=HMDusername, password=HMDpassword)
# 
# Dth.matrix <- create.Lexis.matrix(AUTdata[["deaths"]], Sex="Female", minage=50,
#                                 maxage=100, minyear=1950,
#                                   maxyear=2011)
# Expo.matrix <- create.Lexis.matrix(AUTdata[["exposures"]], Sex="Female", minage=50,
#                                 maxage=100, minyear=1950,
#                                   maxyear=2011)
# AUT.1950.2011 <- ROMI.plot(Dx=Dth.matrix, Nx=Expo.matrix, smooth=TRUE)
# ## End(Not run)

Run the code above in your browser using DataLab