FctMethod1() is an alternative to Method1(). It allows to process the smoothing without using a "Data" object and by defining all the needed parameters independently.
Usage
FctMethod1(d, e, qref, x1, x2, t1, t2)
Arguments
d
Number of deaths.
e
Exposure to risk.
qref
Mortality rates in Reference Table.
x1
Age range used for calculation.
x2
Age range of reference table.
t1
Calendar years used for the calculation. It corresponds to the common years among observations and the reference table.