Estimated survival function based on Kaplan-Meier estimator
SurvFunc.KM(tm = NULL, yobs, delta, type = "right")
a vector contains all time points that the survival function will be calculated at.
a numeric vector that indicated the observed survival times.
a numeric vector that stores the right-censoring indicators.
a character string that specifies the type of the step function. If type="right"
, it will be a right-continuous function.