We follow the full chain of standard lifetable column calculations to translate mx to ex.
mx_to_ex(mx, age, nx = rep(1, length(age)), sex = "t", closeout = TRUE)numeric vector of ex, the same length as mx
numeric vector of the mortality rates (central death rates)
integer vector of the lower bound of each age group (currently only single ages supported)
age interval width, assumes 1 by default
character: Male ("m"), Female ("f"), or Total ("t")
logical. Default TRUE.