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)

amvillegas/StMoMo documentation built on Nov. 7, 2019, 5:39 a.m.