Calculates survival probability estimated by Kaplan-Meier survival curve Uses polynomial extrapolation in survival function space, using poly(n=3)
survival_prob_km(df_km_train, times, estimate_censoring = FALSE)
vector of survival probabilities for time_point
event probabilities (!not survival)
times at which survival is estimated
FALSE by default, if TRUE, event and censoring is reversed (for IPCW calculations)