Description Usage Arguments Details Value Author(s) Examples
Based on deaths counts and exposures OR on death rates, this function plots rates of mortality improvement
1 |
Dx |
Lexis matrix of death counts. Rows represent age. Columns represent year. |
Nx |
Lexis matrix of exposure to risk information. Rows represent age. Columns represent year. Same dimensions required as for Dx |
mx |
If you do not have Dx and Nx available, you can provide death rates here. Smoothing is not available in the current version of the package since the smoothing routine requires deaths counts and exposures. |
smooth |
Logical. If TRUE, data will be smoothed using Giancarlo Camarda's package "MortalitySmooth" |
The main purpose of this function is to plot rates of mortality improvement. A matrix of those rates will be returned, nevertheless.
A matrix of rates of mortality improvement. The main purpose, however, is to plot the data.
Roland Rau
1 | ## Not run: ROMI.plot(Dx=Dx.matrix, Nx=Nx.matrix, smooth=TRUE)
|
Loading required package: MortalitySmooth
Loading required package: svcm
Loading required package: Matrix
Loading required package: splines
Loading required package: lattice
Loading required package: RCurl
Loading required package: bitops
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.