central2initial: Transform StMoMoData from central to initial exposures

Description Usage Arguments Value See Also Examples

View source: R/exportUtils.R

Description

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

Usage

1

Arguments

data

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

Value

A StMoMoData object of type "initial".

See Also

initial2central

Examples

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

StMoMo documentation built on May 2, 2019, 11:42 a.m.