This is a wrapper around the other lifetable utilities. We start with either nMx, nqx, or lx in single or abridged ages, and returns a full lifetable in either single or abridged ages. All optional arguments of lt_abridged() or lt_single*() can be passed in, for instance the nax assumptions or the extrapolation arguments.

lt_ambiguous(
  nMx_or_nqx_or_lx = NULL,
  type = "m",
  Age = NULL,
  Sex = NULL,
  Single = FALSE,
  ...
)

Arguments

nMx_or_nqx_or_lx

numeric vector of either nMx, nqx, or lx

type

character, which variable is x?, either "m", "q", or "l". Default "m"

Age

integer vector of the lower age bounds of x

Sex

character, "m", "f", or "b".

Single

logical, do we want output in single ages?

...

optional arguments passed to lt_abridged() or lt_single*()