This lifetable identity is the same no matter what kind of lifetable is required. You can find it in any demography textbook.
numeric. Vector of age-specific lifetable survivorship.
nqx vector of lifetable death probabilities.
The vector returned is the same length as
Preston S, Heuveline P, Guillot M (2000). Demography: measuring and modeling population processes. Wiley-Blackwell.