Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

central2initial

Transform StMoMoData from central to initial exposures


Description

Transform StMoMoData from central to initial exposures. Initial exposures are computed by adding one half of the deaths to the central exposures.

Usage

central2initial(data)

Arguments

data

StMoMoData object of type "central" created with function StMoMoData.

Value

A StMoMoData object of type "initial".

See Also

Examples

CBD <- cbd()
CBDfit <- fit(CBD, data = central2initial(EWMaleData), ages.fit = 55:89)
plot(CBDfit, parametricbx = FALSE)

StMoMo

Stochastic Mortality Modelling

v0.4.1
GPL (>= 2)
Authors
Andres Villegas <andresmauriciovillegas@gmail.com>, Pietro Millossovich <Pietro.Millossovich.1@city.ac.uk>, Vladimir Kaishev <Vladimir.Kaishev.1@city.ac.uk>
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.