Creates a fractional mortality table for a given mortality table.
Fractional_table(data, frac, i =0.04, assumption ="UDD")
Arguments
data: A data.frame of the annual mortality table, with the first column being the age and the second one the probability of death.
frac: An integer. The number of fractions per year.
i: A numeric type value. The interest rate.
assumption: A character string. The assumption used for fractional ages ("UDD" for uniform distribution of deaths and "constant" for constant force of mortality).
Returns
Returns a data.frame object containing fractional age and death probability vectors.