find_mx_optim: Compute fitted mx

Description Usage Arguments

View source: R/fun_Wilmoth.R

Description

Compute fitted mx

Usage

1
find_mx_optim(x, ex, x.f, coef, radix, k.int, verbose)

Arguments

x

Numerical vector containing ages corresponding to the input data (in 'mx' or 'LT').

ex

Life expectancy matrix

x.f

Data frame containing the q0_5 values.

coef

Estimated coefficients (ax, bx, cx) of the Log-Quadratic model.

radix

Life table radix. Default: 10^5;

k.int

a vector containing the end-points of the interval to be searched for k parameter.

verbose

Logical. Choose whether to display a progress bar during the fitting process. Default: TRUE.


mpascariu/MortalityEstimate documentation built on May 11, 2021, 6:33 p.m.