central2initial {StMoMo} | R Documentation |
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
|
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)
[Package StMoMo version 0.4.1 Index]