PMF of the left-truncation random variable
lt_pmf.RdEstimates the probability mass function of the
left-truncation random variable. .lt_core is the internal workhorse.
Arguments
- lifetime
A numeric vector representing the minimum of the observed termination time or right-censoring time.
- denom
A
numericvector representing the denominator for the calculation of the pmf- trunc_time
A numeric vector representing the observed left-truncation time. If
NULL(the default), this becomes a zero vector (i.e., there is no left-truncation).- rc
a
logicalindicating whether right-censoring is to be considered.- x
the output of an
estimate_hazard()call (analifeobject) or of acalc_cdf()call (anacdfobject). Competing risks are not supported.