powered by
Transform StMoMoData from central to initial exposures. Initial exposures are computed by adding one half of the deaths to the central exposures.
central2initial(data)
StMoMoData object of type "central" created with function StMoMoData.
StMoMoData
A StMoMoData object of type "initial".
initial2central
# NOT RUN { CBD <- cbd() CBDfit <- fit(CBD, data = central2initial(EWMaleData), ages.fit = 55:89) plot(CBDfit, parametricbx = FALSE) # }
Run the code above in your browser using DataLab