R/lt_regroup_age.R
lt_ambiguous.Rd
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, ... )
nMx_or_nqx_or_lx | numeric vector of either |
---|---|
type | character, which variable is |
Age | integer vector of the lower age bounds of |
Sex | character, |
Single | logical, do we want output in single ages? |
... | optional arguments passed to |