Computes event probabilities from a trained cox model
survcox_predict(trained_model, newdata, fixed_time, interpolation = "constant")
returns matrix(nrow = length(newdata), ncol = length(fixed_time))
pre-trained cox model of coxph class
data to compute event probabilities for
at which event probabilities are computed
"constant" by default, can also be "linear", for between times interpolation for hazard rates