In this approach, \(\mu\) can be computed using the familiar sample mean
formula provided the censored values are imputed.
Usage
meanimp(survival.data, round = FALSE)
Value
meanimp returns a list containing the following components:
imputed_table
A matrix containing the original survival data and the
imputed time.
KM_table
Kaplan-Meier estimator of failure times.
Arguments
survival.data
A matrix of two columns with the first column indicates
the survival time and the second column indicates the event indicator (1 and
0, where 1 indicates observed event and 0 indicates unobserved event).
round
Whether survival time should be rounded, default = FALSE.